We demonstrate second-harmonic generation (SHG) in a silicon-carbide (SiC)-based heterostructure photonic crystal nanocavity by using a pulsed laser. We observe SHG light radiated from the SiC nanocavity and estimate the conversion efficiency in the cavity to be 2.59×10(-5) (=0.15 W(-1)) at an average input power of 0.17 mW. The near-field patterns and polarization characteristics of the SHG light are investigated experimentally and theoretically, and the results are in qualitatively good agreement.