When Jack's mother comes to visit Mary, you can see in the background what appears to be a little boy standing in a doorway. There is a rumor that this is the ghost of a little boy who died in the apartment in which the film was shot. This rumour is false, as the interiors were all shot on a sound stage in a movie studio. The "ghost" is actually a cardboard cut-out of Jack wearing a tuxedo. This prop appears later in the film, when Mary's mother comes to collect her.
The party scene at the beginning of the movie was going to start differently. One of the extras was going to be on the phone in the lobby, hang up, and then be followed into the party. The extra was unable to get the shot right, and so that entry was scrapped.
Toward the end of filming, the babies that play Mary, were less entranced by the actors around her, and became enticed by the microphone. She would start to follow it with her gaze, and not look at the actors. Leonard Nimoy and other crew members had to start hiding the microphone and disguising it from the baby's view.
Director Leonard Nimoy looked at videotape footage of about 200 hundred sets of twin girls for the part of Mary, before deciding on Lisa and Michelle Blair for the part. Four sets of twins were seen in person before the final choice was made.
In the original screenplay, Jack was an airline pilot. Paul Millner had a larger role. The overall film was originally intended for adults as there was much more cursing, a big animosity between Peter and Michael. Also when Peter returns with the formula, originally Michael then went out to Safeway to get the diapers, which Peter forgot.