Bases with non-skid surfaces or side panels should prevent your two twin XL mattresses from moving apart. For extra security, you can buy a bed strap with fasteners on each end. Simply attach one end to a mattress’s underside and run it across the bed’s width to the edge of the other mattress.