​A woman has been “profiteering” from her government-subsidized, rent-controlled Central Park duplex by renting out bedrooms through Airbnb, a Manhattan judge said, ordering her to stop immediately.

Manhattan Supreme Court Justice Carol Edmead issued a temporary injunction against Noelle Penraat, who, as The Post reported in October, was sued by her landlord.

In her ruling made public Tuesday, Edmead said records show Penraat made $61,000 off her rent-controlled Central Park duplex in just nine months. Penraat’s “own records indicate that she has been profiteering from a rent-controlled apartment partially subsidized by another government program,” Edmead wrote.

Penraat, 62, benefits from the Senior Citizen Rent Increase Program that exempts her from rent increases because she supposedly makes less than $50,000 a year.

She pays around $4,200 a month for the four​-​bedroom pad at 315 Central Park West with the senior subsidy, but rakes in an average of $6,500 a month through the travel website, the judge found.

“Unlike a typical sleepover these guests are not staying for free,” Edmead ruled, rejecting Penraat’s argument that a loophole in the law allowed her to take in visitors.

The judge barred Penraat from continuing to rent out her apartment, and said the landlord, Brookford LLC, has grounds to evict her from her home of 60 years.

A downstairs neighbor, Michael Whitman, submitted a statement in the case saying that Penraat’s rentals are a danger to his family.

“As a result of the constant barrage of strangers that enter our residential building, I live in fear for the safety of my minor daughters and my wife,” Whitman wrote.

The building also houses a Montessori school that enrolls 175 students.

The landlord ​claimed Penraat has had 135 rentals since February 2012, with guests logging three- to 21-night stays.

The landlord estimated that Penraat could make up to $118,300 a year if she rented the apartment on a nightly, year-round basis.

Penraat advertised her “Gorgeous master bed/bath on the park,” a “Lovely small bedroom in a huge apartment” and a “Sunny bedroom, Central Park view” for between $75 and $150 a night until the case was filed.

Since then, she has pulled her Airbnb ad.

Edmead called Penraat’s claim that the practice wasn’t commercial and didn’t break the law because she was also living in the apartment with the guests “wholly disingenuous.”

The judge noted that the tenant gives visitors “all the items commonly provided by a typical hotel” including fresh linens, complimentary soap, WiFi and information on local events.

Penraat and her attorney did not return calls.