The invention discloses a five-port nonblocking optical router based on micro-ring resonators. The five-port nonblocking optical router comprises a first micro-ring resonator, a second micro-ring resonator, a third micro-ring resonator, a fourth micro-ring resonator, a fifth micro-ring resonator, a sixth micro-ring resonator, a seventh micro-ring resonator, an eighth micro-ring resonator, a ninth micro-ring resonator, a tenth micro-ring resonator, an eleventh micro-ring resonator, a twelfth micro-ring resonator, a thirteenth micro-ring resonator, a fourteenth micro-ring resonator, a fifteenth micro-ring resonator, a first optical waveguide, a second optical waveguide, a third optical waveguide, a fourth optical waveguide and a fifth optical waveguide, wherein one end of the first optical waveguide is a first input end and the other end of the first optical waveguide is a fifth output end; one end of the second optical waveguide is a second input end and the other end of the second optical waveguide is a first output end; one end of the third optical waveguide is a third input end and the other end of the third optical waveguide is a second output end; one end of the fourth optical waveguide is a fourth input end and the other end of the fourth optical waveguide is a third output end; and one end of the fifth optical waveguide is a fifth input end and the other end of the fifth optical waveguide is a fourth output end. By using the five-port nonblocking optical router based on the micro-ring resonators, eastern, southern, western, northern and local nonblocking free communication is realized, the average losses and crosstalk of links are reduced and an optical network-on-chip is enabled to have better extensibility.