Chain-of-Thought Prompting
Asking the AI to reason through a problem step by step before giving an answer.
Definition
Chain-of-thought (CoT) prompting is a technique that instructs the AI to break down complex problems into sequential reasoning steps before arriving at a final answer. Instead of jumping straight to a conclusion, the AI "thinks out loud" — explaining its reasoning at each step. This dramatically improves accuracy on tasks that require logic, math, multi-step analysis, or decision-making.
Research from Google showed that simply adding "Let's think step by step" to a prompt can improve accuracy on math problems by over 40%. Chain-of-thought works because it forces the AI to process information sequentially rather than trying to pattern-match to an answer directly.
Examples
Adding "Think through this step by step before giving your final answer" to a complex analysis prompt
"First, identify the key variables. Then, analyze how they interact. Finally, recommend a course of action with reasoning for each recommendation." — structured CoT prompt
Related Terms
Frequently Asked Questions
When should I use chain-of-thought prompting?
Does chain-of-thought work with all AI models?
Build prompts using this concept
Explore our prompt library and put chain-of-thought prompting into practice with ready-to-use templates.
Build prompts using this concept