The impedance of a microwave circuit has an infinite number of poles due to the distributed elements. This complicates locating those poles with a rational approximation. In this paper, we propose an algorithm to locate the unstable poles of a circuit with distributed elements. The proposed method exploits the fact that a realistic circuit can only have a finite number of unstable poles. We first determine the unstable part whose poles coincide with the unstable poles of the circuit. A rational approximation of the unstable part is used to estimate the unstable poles.