The last U.S. government shutdown occurred from December 22, 2018, to January 25, 2019, lasting 35 days. It was the longest government shutdown in U.S. history and happened due to a deadlock between Congress and President Trump over funding for a border wall on the U.S.-Mexico border.