Device for fixing solar panels on a support rail , comprising: - at least one fastening element , in particular at least one spacer , which fastening element comprises at a first end at least one coupling element arranged for coupling the fastening element on a support rail , in particular a support rail for solar panels , and - at least one clamping element coupled with at least one fastening element and provided with at least one first clamping zone, wherein the clamping element is positioned at a second end, opposite from the first end, of the fastening element , - a locking arm connected to the clamping element at a distance from the first clamping zone, wherein the locking arm extends from the clamping element in the direction of the first end of the fastening element , wherein at least a part of the locking arm and at least a part of the first clamping zone of the clamping element can be positioned on either side of the fastening element , such that the first clamping zone is arranged to clampingly fasten at least one solar panel on the support rail , and such that the locking arm and the fastening element mutually enclose a receiving space for the secured reception of at least a part of a shielding element shielding the fastening element , and - at least one shielding element , wherein at least a part of the shielding element is arranged to be received in a secured manner in the receiving space enclosed by the fastening element and the locking arm , and wherein the shielding element is arranged for shielding at least a part of the fastening element , wherein the locking arm is, on a side facing toward the fastening element , provided with at least one first securing element for securing the shielding element in the receiving space, wherein the first securing element is formed by a securing tooth or a toothed profile . - at least one fastening element , in particular at least one spacer , which fastening element comprises at a first end at least one coupling element arranged for coupling the fastening element on a support rail , in particular a support rail for solar panels , and - at least one clamping element coupled with at least one fastening element and provided with at least one first clamping zone, wherein the clamping element is positioned at a second end, opposite from the first end, of the fastening element , - a locking arm connected to the clamping element at a distance from the first clamping zone, wherein the locking arm extends from the clamping element in the direction of the first end of the fastening element , wherein at least a part of the locking arm and at least a part of the first clamping zone of the clamping element can be positioned on either side of the fastening element , such that the first clamping zone is arranged to clampingly fasten at least one solar panel on the support rail , and such that the locking arm and the fastening element mutually enclose a receiving space for the secured reception of at least a part of a shielding element shielding the fastening element , and - at least one shielding element , wherein at least a part of the shielding element is arranged to be received in a secured manner in the receiving space enclosed by the fastening element and the locking arm , and wherein the shielding element is arranged for shielding at least a part of the fastening element , <EOS>