In most places, it is legal to have electric fire pits on a balcony and/ or a porch. It’s always a good idea to not only check your state’s laws, but also any homeowner’s association regulations. Rentals, like apartments, however, may very well prohibit this. Also used standard safety protocol. You don’t want to place an electric fire pit in a precarious position or too close (within 10 feet) to a foundation. Make sure that there’s nothing nearby that could instigate a fire.