It happened around 1:45 p.m. at the Westin Hotel at 555 Fellowship Road in Mount Laurel.
Officials say a water pipe broke, which set off the sprinkler system and knocked out the power.
Some people were stuck in the elevators during the outage and had to be rescued.
No injuries were reported.