Back to the Future's original ending involved a nuclear test site
The original script for the 1985 classic Back to the Future featured a far different climax involving an atomic bomb test. The sequence was ultimately cut for budgetary reasons, leading to the iconic clock tower finale.

The nuclear option
The now-iconic climax of Back to the Future almost looked radically different. In early drafts of the screenplay, the 1985 film from director Robert Zemeckis had Marty McFly harnessing the power of an atomic bomb detonation to send the DeLorean time machine back to his present. The sequence required Doc Brown and Marty to travel to a nuclear test site in the Nevada desert.
According to production documents and interviews with co-writer Bob Gale, the plan was for Marty to drive the DeLorean into a model town built for the nuclear test. At the precise moment of the explosion, the vehicle would receive the 1.21 gigawatts necessary for time travel. This version of the finale leaned into Cold War-era anxieties and highlighted the sheer power required for Doc Brown's invention. A lead-lined refrigerator was even scripted as a protective measure for Marty, a trope later referenced in Indiana Jones and the Kingdom of the Crystal Skull.
The budgetary pivot
The primary driver for changing the ending was logistical and financial. Constructing a full-scale 1950s nuclear test site, complete with a dummy town, was deemed prohibitively expensive. The sequence would have significantly inflated the film's production budget, which was a point of concern for Universal Pictures. Zemeckis and Gale were forced to devise a more contained and cost-effective solution.
The revised climax, centering on a bolt of lightning striking the Hill Valley clock tower, proved to be a more elegant and dramatically resonant solution. It tied the film's finale directly to the central location of Hill Valley and paid off the earlier detail of the broken clock tower. This change allowed production to utilize the existing town square set, avoiding the expense and complexity of a remote desert location shoot and the extensive special effects required for a nuclear explosion.