The utility model provides an integrated photovoltaic panel device of a railway building roof, which belongs to the field of integrated photovoltaic panel equipment and comprises a roof, a mounting frame arranged on the roof, a mounting plate arranged above the mounting frame, a T-shaped plate arranged below the mounting plate and a clamping plate arranged at the lower end of the mounting frame and used for fixing the T-shaped plate. During use, the boss is fixedly arranged on a roof, the connecting rods are connected with the boss, the distance between the connecting rods is the same as that between the mounting plates, the mounting plates can be limited to a certain degree, and the photovoltaic panel is arranged on the mounting plates. The clamping plates which are symmetrically arranged are placed in the sliding grooves in a sliding mode, the fastening bolts are placed in the threaded holes, the fastening bolts are adjusted, the clamping plates which are symmetrically arranged are separated, the installation plates are conveniently placed, the T-shaped plates on the installation plates are located in the middles of the clamping plates which are symmetrically arranged, then the fastening bolts are rotated, and the fastening bolts drive the clamping plates to move in the opposite directions.