The invention discloses a three-valued inverter based on CNFETs. The three-valued inverter comprises a first CNFET, a second CNFET, a third CNFET, a fourth CNFET, a fifth CNFET, and a sixth CNFET. 0.9V voltage is inputted into the source electrode of the second CNFET, the base electrode of the second CNFET, the base electrode of the third CNFET, and the base electrode of the sixth CNFET. The drain electrode of the third CNFET, the drain electrode of the fourth CNFET, the drain electrode of the fifth CNFET, and the drain electrode of the sixth CNFET are connected. 0.45V voltage is inputted into the source electrode of fourth CNFET and the source electrode of the fifth CNFET. -0.9V voltage is inputted into the base electrode of the fourth CNFET and the base electrode of the fifth CNFET. The grid electrode of the first CNFET, the grid electrode of the second CNFET, the grid electrode of the third CNFET, the grid electrode of the fourth CNFET, the grid electrode of the fifth CNFET, and the grid electrode of the sixth CNFET are connected and a connection point of the same is a signal input end. The drain electrode of the first CNFET, the drain electrode of the second CNFET, the drain electrode of the third CNFET, and the drain electrode of the sixth CNFET are connected and a connection point of the same is a signal output end. The three-valued inverter based on CNFETs has an advantage of low power consumption and satisfies intermediate level needed by users.