Neo4j Docs Docs
Docs
Neo4j DBMS
  • Getting Started
  • Operations
  • Migration and Upgrade
  • Status Codes
  • Java Reference
  • Kerberos Add-on
Neo4j Aura
  • Neo4j Aura
  • Neo4j AuraDB
  • Neo4j AuraDS
Neo4j Tools
  • Neo4j Bloom
  • Neo4j Browser
  • Neo4j Data Importer
  • Neo4j Desktop
  • Neo4j Ops Manager
  • Neodash commercial
Neo4j Graph Data Science
  • Neo4j Graph Data Science Library
  • Neo4j Graph Data Science Client
Cypher Query Language
  • Cypher
  • Cypher Cheat Sheet
  • APOC Library
Generative AI
  • Neo4j GraphRAG for Python
  • Embeddings and vector indexes tutorial
  • GenAI integrations
  • Vector search indexes
  • Vector search functions
  • GraphQL vector index search documentation
Create applications
  • Python Driver
  • Go Driver
  • Java Driver
  • JDBC Driver
  • JavaScript Driver
  • .Net Driver
  • Neo4j GraphQL Library
  • Neo4j Visualization Library
  • OGM Library
  • Spring Data Neo4j
  • HTTP API
  • Neo4j Query API
  • Bolt
Connect data sources
  • Neo4j Connector for Apache Spark
  • Neo4j Connector for Apache Kafka
  • Change Data Capture (CDC)
  • BigQuery to Neo4j
  • Google Cloud to Neo4j
Labs
GenAI Ecosystem
  • LLM Knowledge Graph Builder
  • Vector Index & Search
  • LangChain
  • LangChain.js
  • LlamaIndex
  • Haystack
  • DSPy
Developer Tools
  • APOC Extended
  • Aura CLI
  • arrows.app
  • Cypher Workbench
  • ETL Tool
  • NeoDash
Frameworks & Integrations
  • Needle Starter Kit
  • Neo4j Plugin for Liquibase
  • Neo4j Migrations
  • neomodel
RDF & Linked Data
  • Neosemantics (Java)
  • RDFLib-Neo4j (Python)
Get Help
Community Forum
Discord Chat
Product Support
Neo4j Developer Blog
Neo4j Videos
GraphAcademy
Beginners Courses
  • Neo4j Fundamentals
  • Cypher Fundamentals
  • Importing Data Fundamentals
  • Importing CSV Data
  • Graph Data Modeling
Data Scientist Courses
  • Into to Graph Data Science
  • Graph Data Science Fundamentals
  • Path Finding
Generative AI Courses
  • Neo4j & LLM Fundamentals
  • Vector Indexes & Unstructured Data
  • Build a Chatbot with Python
  • Build a Chatbot with TypeScript
Neo4j Certification
  • Neo4j Certified Professional
  • Neo4j Graph Data Science Certification
Get Started Free
Search
Skip to content
Cypher Manual
Product Version
    • Introduction
      • Overview
      • Tutorial
      • Cypher and Neo4j
      • Cypher and Aura
    • Syntax
      • Naming rules and recommendations
      • Expressions
      • Variables
      • Reserved keywords
      • Parameters
      • Operators
      • Comments
      • Patterns
    • Clauses
      • CALL procedure
      • CALL {} (subquery)
      • CREATE
      • DELETE
      • FOREACH
      • LIMIT
      • LOAD CSV
      • MATCH
      • MERGE
      • OPTIONAL MATCH
      • ORDER BY
      • REMOVE
      • RETURN
      • SET
      • SHOW FUNCTIONS
      • SHOW PROCEDURES
      • SHOW TRANSACTIONS
      • SKIP
      • TERMINATE TRANSACTIONS
      • UNION
      • UNWIND
      • USE
      • WHERE
      • WITH
    • Values and types
      • Property, structural, and composite values
      • Temporal values
      • Spatial values
      • Working with null
      • Lists
      • Maps
      • Casting data values
    • Functions
      • Predicate functions
      • Scalar functions
      • Aggregating functions
      • List functions
      • Mathematical functions - numeric
      • Mathematical functions - logarithmic
      • Mathematical functions - trigonometric
      • String functions
      • Temporal functions - instant types
      • Temporal functions - duration
      • Spatial functions
      • LOAD CSV functions
      • User-defined functions
    • Indexes for search performance
    • Full-text search index
    • Constraints
      • Syntax
      • Examples
    • Query tuning
      • Cypher query options
      • Profile a query
      • The use of indexes
      • Basic query tuning example
      • Advanced query tuning example
      • Planner hints and the USING keyword
    • Execution plans
      • Database hits
      • Execution plan operators
      • Execution plan operators in detail
      • Shortest path planning
    • Administration
      • Database management
      • Database alias management
      • Access control
        • Managing users
        • Managing roles
        • Managing privileges
        • Built-in roles and privileges
        • Read privileges
        • Write privileges
        • Database administration
        • DBMS administration
        • Limitations
    • Deprecations, additions and compatibility
    • Glossary of keywords
  • Appendix
    • Cypher styleguide

Is this page helpful?

  • Cypher Manual
  • Syntax
Raise an issue

Syntax

Cypher® follows a several syntactical rules and recommendations that are important to know when constructing queries. Further information can be found in the following sections:

  • Naming rules and recommendations

  • Expressions

  • Variables

  • Reserved keywords

  • Parameters

  • Operators

  • Comments

  • Patterns

Cypher and Aura Naming rules and recommendations

Learn

  • Sandbox
  • Neo4j Community Site
  • Neo4j Developer Blog
  • Neo4j Videos
  • GraphAcademy
  • Neo4j Labs

Social

  • Twitter
  • Meetups
  • Github
  • Stack Overflow
  • Want to Speak?

Contact Us →

  • US: 1-855-636-4532
  • Sweden +46 171 480 113
  • UK: +44 20 3868 3223
  • France: +33 (0) 1 88 46 13 20

© 2025 Neo4j, Inc.
Terms | Privacy | Sitemap

Neo4j®, Neo Technology®, Cypher®, Neo4j® Bloom™ and Neo4j® Aura™ are registered trademarks of Neo4j, Inc. All other marks are owned by their respective companies.