We examined the spatial relationship between seismicity and upper crustal structure in the Wakayama region, northwestern Kii Peninsula, Japan, by investigating microearthquake focal mechanisms and the local stress field. The focal mechanisms of most events studied fall into three categories: (1) normal faulting with N-S-oriented T-axes mainly occurring at shallow depths, (2) reverse faulting with E-W-oriented P-axes dominating at intermediate depths, and (3) strike-slip faulting with N-S-oriented T-axes and E-W-oriented P-axes mainly seen at greater depths. The stress field varies with depth: the shallow part is characterized by a strike-slip-type stress regime with N-S tension and E-W compression, while the deep part is characterized by an E-W compressional stress regime consistent with reverse faulting. The depth-dependent stress regime can be explained by thermal stress caused by a heat source, as expected from geophysical observations. Geologic faults, acting as weak planes, might contribute to generate shallow normal fault-type and deeper strike-slip fault-type microearthquakes.