Skip to content

What are Boolean Operators? AND, OR and NOT

How AND, OR and NOT combine keywords to narrow or widen a search, with examples you can use in academic databases.

Sharing

What are Boolean Operators?

Boolean operators are the words AND, OR and NOT, used to combine search terms in academic databases and search engines. They are named after the mathematician George Boole. Used well, they turn a vague keyword search into a precise one.

The Three Boolean Operators

  • AND narrows a search: every result must contain all the terms. sleep AND memory finds papers about both.
  • OR broadens a search: results can contain any of the terms. Use it for synonyms: adolescents OR teenagers.
  • NOT excludes a term: bats NOT baseball. Use it carefully, because it also removes relevant papers that happen to mention the excluded word.

Boolean Search Example

Question: does social media use affect sleep in teenagers?

("social media" OR Instagram OR TikTok) AND (sleep OR insomnia) AND (adolescen* OR teen*)

OR joins the synonyms inside each set of brackets, AND joins the three concepts, quotation marks keep "social media" together as a phrase, and the asterisk finds adolescent, adolescents and adolescence.

Why Parentheses Matter

Databases do not all read AND and OR in the same order. Brackets make the logic explicit: (education OR training) AND technology means one or other of the first two words, plus technology. Without the brackets, some databases would return every paper about education.

Does Google Use Boolean Operators?

Partly. Google and Google Scholar treat a space as AND, support OR in capital letters, and use a minus sign instead of NOT (bats -baseball). They do not support complex nesting reliably, so use a database's advanced search for a thorough search.

Tips for Using Boolean Operators

  • Write operators in capitals; some databases require it.
  • Build the query concept by concept, as in a search strategy, then combine the concepts with AND.
  • Use the database's advanced search form, which puts each concept on its own line.

Use case: Find sources for every claim as you write

Your next paper, with real citations.

Describe your paper and get an outline in a minute. The Free plan needs no card.