An upper Manhattan woman slept outside in a makeshift shelter for two days straight — braving ruthless winds and bone-chilling temperatures — as she risked her life to save a stray dog from freezing to death.

When temperatures in the Big Apple plummeted to record lows over the weekend, Denise Lauffer, 40, knew she had to do something drastic to ensure the survival of Charlie, a local feral dog who was in desperate need of medical care.

Charlie goes out for some fresh air outside the veterinary hospital Wednesday night.Chad Rachman

The black-and-tan canine had been born to a wild pack of around a dozen dogs in Highbridge Park.

Worried that Charlie was too old to survive the relentless weather conditions after spending 10 years in the park, Lauffer wanted to get him safely indoors, but knew she would ultimately have to earn his trust to do so after he had eluded capture attempts in the past.