The power cord is permanently attached in the rear of the TV so that the cord hangs straight down from the TV. Both HDMI ports, as well as two other connection ports, are on the back of the set, but each allows for connecting so as to not interfere with a flush mount to the wall (if that's your intent.