Works great to prevent the dogs from going upstairs. My husband purposely leaves the latch open so our beagle Barney can open it and get in bed with us.