The invention relates to a GOA circuit and a display panel, the GOA circuit comprises a plurality of cascaded GOA units, if the nth-stage GOA unit is the previous two-stage GOA unit, a pull-up and pull-down control module is connected with a GSP
signal, an (m-2) th-stage
clock signal line and a first node, otherwise, the pull-up and pull-down control module is connected with the
signal output end of the (n-2) th-stage GOA unit, the (m-2) th-stage
clock signal line and the first node; the pull-up and pull-down module is respectively connected with the mth-level
clock signal line, the first node and the second node; the
capacitor module is connected with the first node and the second node. The
noise elimination module is respectively connected with an mth-level
clock signal line, a first node, a second node and a third node, and the third node is connected with a first low-level signal; and if the nth GOA unit is the previous three-stage GOA unit, the first clearing module is respectively connected with a VSS signal, a first node and a third node, otherwise, the first clearing module is respectively connected with a GSP signal, the first node and the third node. According to the GOA circuit, the periodic clock signals are matched with the TFTs, so that the wiring number of the GOA circuit and the circuit
layout area are effectively reduced.