If you won millions playing Powerball Wednesday night, perhaps a new home is in order.

In fact, you too would be able to afford the kind of digs reserved for the rich and famous — especially since big-name celebs have their Manhattan dreamhouses on the market right now.

Maybe you’d like Madonna’s palatial Central Park West duplex (current listing price: $19.95 million) or maybe hip-hop mogul Russell Simmons’ Financial District two-level home is more your style.

The New York City homes of celebrities can range from a few million dollars to the tens of millions. On average, the sales price in the high-end luxury market was $5 million during the first quarter of this year.

But buyers don’t have to shell out extra money for a place once owned by a boldface name.

“It doesn’t ensure some sort of premium,” said Jonathan Miller, a real estate appraiser. “And if there is, it would probably be modest. It’s more about the property.”

If you should find yourself suddenly able to afford a celebrity’s apartment, it may be best to act fast.

Leonard Steinberg, managing director at Douglas Elliman, who has had celebrity clients, said a famous face attached to a property could attract publicity to a listing.

“It certainly can provide a good provenance to the building,” said Steinberg. “There’s definitely a vast interest level these days in anything related to a celebrity.”