The movie takes place in modern-day America, where technology has advanced significantly. John McClane (Bruce Willis) is visiting his estranged son, Jack (Justin Long), in New York City. However, their reunion is short-lived, as a group of cyber terrorists, led by Thomas Gabriel (Timothy Olyphant), hack into the United States' critical infrastructure, including the power grid, transportation systems, and financial institutions.