An extinct volcano is one that no longer has access to a lava supply. This differs from dormant volcanoes that still can erupt at any given moment. Scientists have a hard time telling the difference between dormant and extinct volcanoes for a variety of reasons but there are a few rules of thumb.
Volcanoes that haven’t erupted in the last 10,000 years are often considered extinct. Every mountain on the planet is not a volcano.