The invention discloses a cleaning and maintenance device for an outdoor steel structure part adopting a contact sensor. The cleaning and maintenance device is used for cleaning and maintaining the outdoor steel structure part. The outdoor steel structure part comprises a main beam (4) with a guide rib (2) extending in the longitudinal direction and auxiliary beams (41) supported on the main beam (4). The cleaning and maintenance device comprises a supporting frame (99), a water supply pipe (61) and a nozzle (62), wherein the water supply pipe (61) is supported on the supporting frame (99) and is close to the main beam (4), and the nozzle (62) is communicated with the water supply pipe (61). A plurality of longitudinally-extending guide protrusions are arranged on the upper surface and the lower surface of the guide rib (2), and therefore the guide rib (2) can match circumferential grooves (920 and 910) in an upper supporting roller (921) and a lower supporting roller (911), which are connected to the upper surface and the lower surface respectively, of the cleaning and maintenance device.