<Tr> <Th> Budget </Th> <Td> $4 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $56.7 million </Td> </Tr> <P> Guess Who's Coming to Dinner is a 1967 American comedy - drama film produced and directed by Stanley Kramer, and written by William Rose . It stars Spencer Tracy, Sidney Poitier, and Katharine Hepburn, and features Hepburn's niece Katharine Houghton . The film was one of the few films of the time to depict an interracial marriage in a positive light, as interracial marriage historically had been illegal in most states of the United States, and still was illegal in 17 states--mostly Southern states--until 12 June 1967, six months before the film was released, roughly two weeks after Tracy filmed his final scene (and two days after his death), when anti-miscegenation laws were struck down by the Supreme Court in Loving v. Virginia . The film's Oscar - nominated score was composed by Frank De Vol . </P> <P> The film is notable for being the ninth and final on - screen pairing of Tracy and Hepburn, with filming ending just 17 days before Tracy's death . Hepburn never saw the completed film, saying the memories of Tracy were too painful . The film was released in December 1967, six months after his death . </P>

When was guess who's coming to dinner made