If you plan to install a retractable gate in a wider hallway or staircase, you can attach two gates with an extension. However, note that not all retractable or hardware-mounted gates can be extended.