The utility model discloses a set top box having a function of wireless routing. The set top box comprises a set top box master control module, a routing module connected with the master controller, and a wireless data transmission and reception module connected with the routing module and used for transmitting and receiving wireless data. The wireless data transmission and reception module is provided with an antenna. The set top box further comprises an RJ45 interface for connecting with the wireless data transmission and reception module. The set top box provided by the utility model has the function of wireless routing, such that the investment of users is reduced and the set top box is intelligent.