The utility model relates to the field of photovoltaic technology, and discloses a photovoltaic support with a photovoltaic panel switching function, comprising a support plate, two sides of the support plate are both provided with a plurality of spacing holes, moving arms are movably arranged in the spacing holes in a hidden manner, the back of each moving arm is fixedly provided with a support frame, and the support frame is fixedly provided with a photovoltaic panel. A transmission block is fixedly installed on one side of the bottom of the supporting frame, an internal thread is arranged in the transmission block, connecting plates are fixedly installed at the bottoms of the two sides of the back face of the supporting plate, and a bidirectional lead screw is movably installed on one side of each connecting plate. Through the structural design of the moving arm, the support frame, the transmission block, the internal thread and the bidirectional screw rod, the function of flexibly adjusting the width of the clamped photovoltaic panel is realized, so that the support can accommodate photovoltaic panels of different sizes and shapes to adapt to different requirements and specifications of the photovoltaic panels, in conclusion, the purpose of switching the photovoltaic panels is achieved, and the photovoltaic panel switching efficiency is improved. And the bracket can be adapted to photovoltaic panels with different sizes, so that the application range of the device is expanded.