The nonorthogonal finite-difference-time-domain (FDTD) technique is used to compute the resonant frequencies of dielectric-filled cylindrical cavities. Because the method is based on the nonorthogonal coordinate system, it is not restricted to specific geometries, e.g. rectangular or axially symmetric geometries, and is suitable for analyzing cavities of arbitrary shape. The advantages of this technique over the conventional FDTD algorithm with a staircase grid are shown in a convergence study, where the two methods are used to compute the dominant resonant frequency of a cylindrical cavity. The accuracy of the technique for calculating the resonant frequencies of the first few modes is demonstrated by comparing the results obtained with this technique with those derived by using two versions of the finite element method in the frequency domain.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">></ETX>