However, a pressure-mounted gate should not be placed here because your dog could easily jump onto the gate and knock it off the banister. Before they can stop themselves, they’re falling down the stairs along with the stair gate.
So, if you want to place your stair gate at the top of the stairs make sure that it’s permanently fixed to the wall and incredibly stable before allowing your dog to go anywhere near it.