What is a spike?
Last reviewed November 8, 2026
A spike is a short, timeboxed piece of work whose purpose is to learn something, not to deliver a feature. Teams use spikes when they can't plan or estimate an item because something important is unknown: whether an outside service can do what is needed, which of two approaches is faster, or how hard a piece of old code is to change. The result of a spike is an answer, usually written down, that lets the team plan the real work.
The term comes from Extreme Programming, where a spike solution is a very simple program that explores a possible solution. Scrum doesn't define spikes. Many Scrum Teams use them as Product Backlog items or as tasks within a Sprint.
When a spike helps
- The estimates are far apart for a reason nobody can resolve. One Developer votes 5 and another 40, and both have good arguments. See When the votes are far apart.
- The team depends on something it hasn't used. A new API, a new library, a partner's system.
- There are two credible approaches, and choosing the wrong one would be expensive.
- Old code hides surprises. The team can't tell how much a change will touch without looking.
A spike doesn't help when the question can be answered by asking someone, reading documentation for an hour, or simply starting the work in small pieces.
How to run one
The code from a spike is usually thrown away. It was written to learn, without the tests and review the Definition of Done requires.
A worked example
How it relates to nearby terms
- Timebox: every spike has one, and it is what makes a spike different from open-ended research. See What is a timebox?.
- Prototype: a spike may produce one, but its purpose is an answer, not a design for users.
- Product discovery: discovery tests whether an idea is worth building. A spike usually tests whether and how it can be built. See What is product discovery?.
Common misunderstandings
"A spike is research with no end." Without a timebox, it is just work with no plan.
"Spikes should be estimated in points." Teams differ. Some size spikes like other items, and some leave them unsized and count the timebox against capacity. Pick one and be consistent.
"Every unknown needs a spike." Many unknowns are cheaper to resolve by starting the real work in a small slice.
"Spike code goes to production." It was written to learn. If it turns out useful, rewrite it to the Definition of Done.
Questions
What is a spike in Scrum?
A short, timeboxed piece of work to answer a question the team needs answered before it can plan or estimate an item. Scrum doesn't define it, but many Scrum Teams use it.
How long should a spike be?
Usually one to three days. Long enough to answer one question, and short enough that it doesn't become a project of its own.
What should a spike produce?
An answer to its question, shared with the team, and usually a better-understood item: split, re-estimated or reordered.
Do spikes count toward velocity?
It depends on the team's choice. If spikes are sized, they count when done. If not, the time they take simply reduces the capacity for other work.
What is the difference between a spike and a prototype?
A spike answers a question for the team, often a technical one. A prototype shows an idea to users or stakeholders to get their reaction.