It's underneath, the terrarium is purpose built and has a built in slot for the heat mat, it only takes up half the floor, I could not raise temperatures any other way