The Ghost and Mrs. Muir is a 1947 American supernatural romantic fantasy film starring Gene Tierney and Rex Harrison. It was directed by Joseph L. Mankiewicz, and is based on a 1945 novel written by Josephine Leslie under the pseudonym of R.A. Dick. In 1945, 20th Century-Fox bought the film rights to the novel, which had published only in the United Kingdom at that time. It was shot entirely in California.