Quite a few dog gates are designed primarily for indoor use and are unsuitable for the outdoors. Read online descriptions or tags to see where the gate is designed to be. If it says “indoors,” then the gate won’t last long outside. If it mentions “outdoors,” it should be able to withstand the elements.