In 1852, English mathematician Francis Guthrie looked at a map of England’s counties and found that four colored pencils were enough to keep neighboring counties different. The question that followed—whether four colors can always color any map—has now led to a faster way to find the colors, developed by an international team that includes researchers from the University of Copenhagen and the Technical University of Denmark, or DTU.

The four-color theorem says that any flat map can be colored with no more than four colors, as long as regions sharing a border do not share a color. The claim was proved in 1976, but that proof relied heavily on computer calculations that some mathematicians found hard to check. A more accessible proof arrived in 1997. It could produce a coloring too, but its method slowed sharply as maps grew larger. Knowing that a coloring exists, it turns out, is not the same as finding one quickly.

The new work offers what the researchers describe as the optimal algorithm for four-coloring maps. The team includes University of Copenhagen professor Mikkel Thorup and DTU professor Carsten Thomassen, alongside Ken-ichi Kawarabayashi and Bojan Mohar. They spent around 10 years working on the problem. The first part of their paper was presented at FOCS’26, a leading conference in theoretical computer science, and received its Best Paper Award. The research is published on the arXiv preprint server.

The speed-up rests on a new mathematical insight about planar graphs, the mathematical structures used to represent maps. The researchers found that these graphs contain far more “reducible configurations” than previously known. These small sections act like starting points, or handles, for building a valid coloring. Instead of having to find just one useful starting point, the team’s method can find many across a graph and use them to get the coloring process going.

That changes how the work grows with the size of a map. The earlier method took quadratic time: if a map had 10 times as many regions, the computation could take about 100 times as long. The new algorithm takes linear time, so the same increase in regions makes the computation about 10 times slower. In practice, that means a much more efficient route to coloring very large maps.

Thorup calls the long-running fascination with the problem “the four-color disease,” and estimates that at least 1,000 mathematicians have spent months trying to find a simple proof. For this team, the payoff is not only a faster coloring method but also a new understanding of the hidden structure inside maps. Their result marks the first major breakthrough on the problem in 30 years, and the researchers say those insights may help mathematicians tackle other puzzles. The paper is a preprint, so its findings are being shared on arXiv as the work enters the wider research conversation.