After the conclusion of the American Civil War, Victor Barbicane, a munitions innovator, announces the development of a groundbreaking explosive called "Power X." He claims that this new substance is exponentially more powerful than anything previously created. His rival, Stuyvesant Nicholl, a skilled metallurgist, dismisses these claims and challenges Barbicane to a wager of $100,000—equivalent to roughly $2.4 million today—stating that Power X cannot destroy his most resilient invention, the hardest known metal. In response, Barbicane orchestrates a demonstration using a small cannon, which successfully destroys Nicholl's metal and even causes damage to the surrounding countryside, showcasing the destructive potential of Power X.
Following this event, President Ulysses S. Grant intervenes, urging Barbicane to halt further development of Power X after several nervous nations express concerns that continued progress might be perceived as gearing up for war. Barbicane agrees to pause his experiments but is fascinated when he learns that fragments of Nicholl's metal—retrieved after the demonstration—have been transformed into an incredibly strong yet lightweight ceramic. This unexpected discovery sparks the ambitious idea of building a spaceship capable of reaching the Moon, and Barbicane reaches out to Stuyvesant Nicholl to collaborate on the project. During this process, a romantic subplot develops as Virginia, Nicholl's daughter, and Ben Sharpe, Barbicane's assistant, find themselves drawn to each other amid the excitement and scientific endeavors.
Once the spacecraft is completed, Barbicane, Nicholl, and Sharpe prepare for their historic journey with a grand ceremony. As they launch into space, Stuyvesant Nicholl, a deeply religious man, reveals his inner doubts and suspicions, admitting he has secretly sabotaged the vessel because he believes Barbicane's ambitions violate divine laws. Just as tensions rise, it is discovered that Virginia has secretly stowed away on the spaceship. Nurturing a sense of duty and urgency, Nicholl and Barbicane unite their efforts to rescue her. In a thrilling sequence, Sharpe and Virginia are placed in a secure compartment for safety as the scientists send rockets to return the young lovers safely back to Earth.
Meanwhile, Barbicane and Nicholl land on the Moon in a separate section of the spacecraft. Stranded with no way to return, the two scientists manage to send a signal back to Earth, reassuring everyone that they have arrived safely and are alive. This daring expedition not only pushes the boundaries of science and technology but also explores profound themes of faith, rivalry, and human curiosity. Throughout their journey, the characters grapple with their beliefs, ambitions, and personal relationships, culminating in a story that blends adventure, science, and philosophical questions about man's place in the universe.