Magnolia is a 1999 American epic psychological drama film written, directed and co-produced by Paul Thomas Anderson. It stars an ensemble cast, including Jeremy Blackman, Tom Cruise, Melinda Dillon, Philip Baker Hall, Philip Seymour Hoffman, Ricky Jay, William H. Macy, Alfred Molina, Julianne Moore, Michael Murphy, John C. Reilly, Jason Robards and Melora Walters. The film has a mosaic of interrelated characters in search of happiness, forgiveness, and meaning in the San Fernando Valley. The script was inspired by the music of Aimee Mann, who contributed several songs to its soundtrack.