Bernard E. Trainor (September 2, 1928 – June 2, 2018) was an American journalist and a United States Marine Corps lieutenant general. He served in the Marine Corps for 39 years in both staff and command capacities. After retiring from the Marine Corps, he began working as the chief military correspondent for The New York Times. He was subsequently a military analyst for NBC. With Michael R. Gordon, he was the author of three accounts of American wars in Iraq, The Generals War (1995); Cobra II (2006); and Endgame (2012).