Abstract: Provided are a system and method for a self-aligning system for mounting at least one photovoltaic module to a surface. The system includes a plurality of rails, each rail having a plurality of slideably attached friction locking retainers, and a plurality of anchors with fasteners extending opposite from friction locking retainers. A collapsible separator is coupled between the rails and structured and arranged to align the rails to each other at a pre-defined separation distance. Each friction locking retainer structured and arranged to laterally slide along a portion of each rail and remain as positioned by a user. Each friction locking retainer further structured and arranged to grip and permit adjustment of at least one photovoltaic module during mounting. An associated method of use is also provided.