Tools

Neo4j / Cypher Cheat Sheet

Print-ready cheat sheet for Neo4j / Cypher, organized for fast lookup, study, and desk-side use

Source
Neo4j Documentation (neo4j.com/docs)
License
MIT
Updated
2026-03-27

Sample

What's in this cheat sheet

  • Cypher Basics
  • Nodes & Labels
  • Relationships
  • CREATE
  • MATCH
  • WHERE
  • RETURN
  • UPDATE & DELETE
  • Aggregation
  • Common Patterns

Query Structure

MATCHFind patterns in the graph
WHEREFilter results
RETURNSpecify output columns
CREATECreate nodes and relationships
SET / REMOVEUpdate properties and labels
DELETE / DETACH DELETERemove nodes and relationships

Running Queries

// Neo4j Browser: paste and run with Ctrl+Enter
// cypher-shell:
cypher-shell -u neo4j -p secret "MATCH (n) RETURN n LIMIT 5"

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read