Particle swarm optimization (PSO) is a global optimization method based on swarm intelligence. The improved algorithm was applied in the optimization of water Level-discharge relation curve fitting. The comparative analysis was made to verify the effectiveness of the improved PSO algorithm.