Due to limited wartime housing, Army lieutenant Danny Ferguson and fiancée Maggie Preston must postpone their wedding until a room in the Craig Hotel, where married officers stationed at nearby Camp Fielding live with their wives, becomes available. When their accommodations are ready, Maggie arrives with her wealthy parents Henry and Vera, who are unhappy about the living conditions their daughter will be forced to endure. Initially Maggie is too happy to care, but once the newlywed is left alone during the day while her husband is on the base, she begins to become disenchanted with her surroundings and the lack of service her privileged background has groomed her to expect. Unaware of what is expected of her in her new capacity of army wife, Maggie quickly becomes an outcast among the other women. Not helping her situation is an obvious lack of any domestic skills that would allow her to assist in the daily routine at the hotel. Increasingly upset with her situation, she lashes out at hotel manager Mrs. Jerry Armstrong. Her mood softens when she learns Jerry's husband was killed in battle overseas and she has remained at the hotel to honor his memory. Maggie's attitude changes and she befriends some of the other wives, particularly Shirley, who is married to Danny's best friend Lt. Red Pianatowski. When Danny finds himself the target of snide remarks made by his fellow officers, he discovers Maggie asked her father to use his influence to keep his son-in-law based in the States instead of being shipped overseas. Infuriated by her interference, he angrily storms out of their room, and Maggie prepares to return to her parents in Philadelphia. When Danny returns with Philip, they discover a book about infant care Maggie had purchased to help her assist the expectant mothers, and he assumes she is pregnant. Rushing to the train station, he begs her to return. That night, at a dance honoring a visiting general, Red tells Shirley that Maggie is expecting a baby. As Maggie tries to tell her husband the truth, he receives word his company is being sent overseas. Danny is disappointed to learn he is not going to be a father after all, but Maggie reassures him she will be anxious to start a family as soon as he returns. After Danny and Red ship out, Maggie and Shirley decide to find jobs in the defense industry and do what they can to support their husbands and the rest of the troops.
The initial draft of the screenplay, entitled Paris, Tennessee, was completed in July 1943, and 20th Century Fox executive Darryl F. Zanuck assigned the project to Archie Mayo. The script underwent numerous revisions and was retitled Army Wife before going into production as I Married a Soldier in December. By then Zanuck agreed to allow Preminger to direct as well as produce the film. It marked the screen debut of Frank Latimore and Gale Robbins and the first time Jeanne Crain would receive top billing. The cast also included future director Blake Edwards in a small, uncredited supporting role. The screenplay continued to undergo extensive changes as filming progressed, and on February 4, 1944, the Los Angeles Examiner reported the project was in trouble. Joseph Breen, who headed the Production Code Administration, was certain the British Board of Film Censors would object to a scene showing the newlywed couple in bed and recommended Preminger restage it, although the shot remained in both the US and UK releases. It was the first film to show a married couple in bed since the Motion Picture Production Code was established in 1934, a fact that greatly pleased Preminger. During filming, the director realized Eugene Pallette, cast as Maggie's father, was "an admirer of Hitler was convinced that Germany would win the war." Preminger also discovered the actor was a racist when he refused to sit next to African Americancast member Clarence Muse and used a racial slur to refer to him. Infuriated, the director immediately fired Pallette and, although he remains in scenes he already had filmed, the remainder of his role not yet shot was eliminated from the script. After principal photography was completed, the screenplay underwent more revisions in order to enhance the screen presence of Jeanne Crain. After these additional scenes were filmed in late March 1944, the film's title was changed yet again to In the Meantime, Darling. The song "How Many Times Do I Have to Tell You," performed by Gale Robbins during the dance sequence, was written by Jimmy McHugh and Harold Adamson.