Paul Dougherty and Daryush Hosseini, both 16 and students at an international school, were visiting friends at Charming Resident in Soi Sukhumvit 22. The boys were swimming in the pool, on the ninth floor of the building.
Witnesses told Thong Lor police that Dougherty got out of the pool and leaned against a light pole briefly before collapsing from electrocution. Hosseini then tried to pull Dougherty away, before he too succumbed to electric shocks.
Police said later that an inquiry was underway to try to determine if electricity was "leaking" near the light pole.
They warned that owners of the building would be charged over the boys' deaths, if that was confirmed.