A fast and reliable method to calibrate LiNbO_3-based polarization controllers(PCs) presented theoretically and experimentally.Particle swarm optimization(PSO) algorithm is used as an adaptive searching algorithm.Experimental results show that PSO algorithm is powerful in calibrating LiNbO_3-based multistage PCs.Only less than one minute is spent for all stages of the PC to be calibrated thoroughly.