Short answer
Historians do not agree on one answer. Many point to two decisions as the most consequential: the invasion of the Soviet Union in June 1941 and the declaration of war on the United States in December 1941. Which one counts as the biggest mistake depends on what a reader weighs most heavily.
Operation Barbarossa
Germany invaded the Soviet Union on 22 June 1941. Hitler and his generals expected a quick campaign, but the Red Army and Soviet industry proved far more resilient than planned. The advance stalled short of Moscow in late 1941. The campaign that followed became the largest and deadliest part of the war in Europe. The Battle of Stalingrad, which ended in February 1943 with the surrender of German forces there, is often treated as a turning point. The invasion also committed enormous German forces to the east, leaving less strength for the fight against Britain and in the Atlantic.
Declaring war on the United States
Germany declared war on the United States on 11 December 1941, four days after Japan attacked Pearl Harbor. The United States had not attacked Germany. Many historians see the declaration as a major strategic error, because it brought the full industrial power of the United States into the war in Europe. The US was already supplying Britain and the Soviet Union, but a formal state of war gave it a direct and lasting role in the European fighting.
Failing to defeat Britain
In 1940 Germany failed to win control of the skies over Britain in the Battle of Britain. The planned invasion, Operation Sea Lion, was postponed and never carried out. Britain stayed in the war, which gave the Allies a base in the west from which to later launch operations in Europe.
Why the Holocaust is treated differently
Historians generally do not describe the Holocaust as a “mistake” in the strategic sense. It was a crime against humanity. Discussions of Germany’s wartime choices usually treat the genocide separately, because ranking it alongside military decisions would miss its moral weight.
Who actually won WWII
The Allies won the war in Europe, and the Soviet Union bore the largest share of the fighting on the Eastern Front. Germany surrendered in May 1945. Answering who actually won WWII helps explain why the eastern campaign mattered so much to the outcome.
Bottom line
If you need one answer, many historians put the invasion of the Soviet Union first, with the declaration of war on the United States close behind. The answer depends on which decisions a reader weighs most heavily.