The Machinist is a 2004 psychological thriller film directed by Brad Anderson and written by Scott Kosar. The film stars Christian Bale and features Jennifer Jason Leigh, Aitana Sánchez-Gijón, John Sharian, and Michael Ironside in supporting roles. The Machinist is about Trevor Reznik (Bale), a machinist whose insomnia and psychological problems lead to a serious workplace accident involving a co-worker (Ironside). After Reznik is fired, he goes into a downward spiral of guilt, paranoia, and delusion.