Radial basis functions (RBF), as a meshless technique, is widely applied to solve partial differential equations. In this paper, a meshless RBF method is applied to time domain Maxwell's equations and calculates a two-dimensional (2-D) cavity case. The main idea is that the fields in the space domain are expanded into a series of radial basis functions and are treated with a meshless method procedure, and the time derivatives are still tackled with the customary difference scheme. The 2-D cavity numerical experiment has been used to validate the propose technique.