Overleaf shows “Compile timed out” when your project takes longer to build than your plan allows: 10 seconds on the free plan and 4 minutes on paid plans. You can often fix it by making the build lighter, or avoid the limit completely by compiling on your own computer.
Sources: Overleaf’s note on the free compile timeout and its plan limits.
Why does Overleaf say “compile timed out”?
Overleaf compiles your project on a shared server and stops the job when it runs past the limit. Typical causes:
- Many or large figures, especially TikZ and pgfplots plots, EPS files and big photos.
- A long document such as a thesis or book.
- A big bibliography or several passes needed to settle references.
- An infinite loop or a stuck error in your code.
Fix 1: Is there a real error in the log?
Open the logs and look for the first error. A broken command or a missing file can make LaTeX wait or loop until the timeout. Fix the first error, then compile again. Later errors are often caused by the first one.
Fix 2: Can I compile in draft mode?
Add draft to the document class, for example \documentclass[draft]{report}. Figures become empty boxes of the same size, so the layout stays the same and the build is much faster. Remove the option for the final PDF. Overleaf also has a Draft setting in its compile menu.
Fix 3: Can I compile only one chapter?
Load chapters with \include{chapter1} and add \includeonly{chapter1} in the main file. Only that chapter is built. See how to compile one chapter of a thesis.
Fix 4: Can I make the figures lighter?
Export TikZ or pgfplots figures once to PDF and include the PDF. Shrink images that are far larger than the size they are printed at. Use PDF, PNG or JPG instead of EPS where you can.
Fix 5: Can I split the work?
Move heavy parts, like a large appendix of plots, into a separate document and include only the finished PDF pages (for example with the pdfpages package).
Fix 6: How do I compile offline with no timeout?
Compile on your own computer. Nothing stops the build, so a big thesis simply takes as long as it needs.
- Download your project from Overleaf: Menu → Download → Source gives a
.zip. - Install a TeX distribution: MiKTeX on Windows, MacTeX on Mac or TeX Live on Linux. The offline LaTeX guide shows each step.
- Download TexOwl, free and open source, and choose Create Project → Upload Project to import the
.zip. - Click Compile. TexOwl picks the main file and the right engine (pdfLaTeX, XeLaTeX or LuaLaTeX) and uses latexmk.
TexOwl also has four compile modes (full, current part, draft, current part plus draft), so even a very large thesis stays quick to preview. Overleaf is still the better choice for real-time co-editing, which TexOwl does not have yet.
More answers are in the FAQ, and the Overleaf alternative page has the full comparison.
Stop fighting the timeout
Download TexOwl and compile your project on your own computer, for free.
Frequently asked questions
Why does Overleaf say compile timed out?
Overleaf stops any compile that runs longer than its plan allows. The free plan limit is 10 seconds and paid plans allow 4 minutes. Long documents, many figures and large bibliographies often take longer.
How do I compile LaTeX with no time limit?
Compile on your own computer with a TeX distribution such as MiKTeX, TeX Live or MacTeX. A local editor like TexOwl, which is free, has no compile timeout.