Abstract. A mid-IR amplifier consisting of a tapered chalcogenide fiber coupled to an Er 3þ -doped chalcogenide microsphere has been optimized via a particle swarm optimization (PSO) approach. More precisely, a dedicated three-dimensional numerical model, based on the coupled mode theory and solving the rate equations, has been integrated with the PSO procedure. The rate equations have included the main transitions among the erbium energy levels, the amplified spontaneous emission, and the most important secondary transitions pertaining to the ion-ion interactions. The PSO has allowed the optimal choice of the microsphere and fiber radius, taper angle, and fiber-microsphere gap in order to maximize the amplifier gain. The taper angle and the fiber-microsphere gap have been optimized to efficiently inject into the microsphere both the pump and the signal beams and to improve their spatial overlapping with the rare-earth-doped region. The employment of the PSO approach shows different attractive features, especially when many parameters have to be optimized. The numerical results demonstrate the effectiveness of the proposed approach for the design of amplifying systems. The PSO-based optimization approach has allowed the design of a microsphere-based amplifying system more efficient than a similar device designed by using a deterministic optimization method. In fact, the amplifier designed via the PSO exhibits a simulated gain G ¼ 33.7 dB, which is higher than the gain G ¼ 6.9 dB of the amplifier designed via the deterministic method.