The plot of "Five Feet Apart" takes several significant turns, culminating in a bittersweet and emotionally charged ending. The relationship between Stella and Will intensifies as they secretly go on dates around the hospital, using a five-foot pool cue to maintain their distance. A major turning point occurs with the sudden death of their friend, Poe, which deeply affects Stella and fuels her desire to live more fully. This tragedy prompts Stella to convince Will to sneak out of the hospital with her to see the city lights. During their outing, Stella receives a text that a pair of lungs is available for her transplant, but she initially ignores it, wanting to savor her time with Will.
The climax of the film occurs when Stella falls through the ice of a frozen pond. Will, without hesitation, pulls her out and performs mouth-to-mouth resuscitation, breaking the most critical rule of their separation and risking cross-infection. They are rushed back to the hospital, and Stella undergoes the lung transplant. Miraculously, she does not contract Will's B. cepacia infection. However, Will learns that the experimental drug trial he is on is not working. Realizing that his continued presence in her life is a constant threat to her newly transplanted lungs, Will makes the heartbreaking decision to leave. In a final, poignant scene, he sets up a display of lights for her outside her hospital room and they say their goodbyes through the glass, professing their love for each other. The film ends with Stella's voiceover, reflecting on the importance of touch and human connection, leaving Will's ultimate fate ambiguous.