<正> We derive the analytical expression of microcavity-enhanced factor for third harmonic generation in termsof detunings,linewidths,and the Purcell factors of the relevant microcavity modes.It is suitable for microcavitics withany dimensions and arbitrary geometric shapes.