Fungal avirulence effectors, a key weapon utilized by pathogens to promote their infection, are recognized by immune receptors to boost host R gene-mediated resistance. Many avirulence effectors share sparse sequence homology to proteins with known functions, and their molecular and biochemical functions together with the evolutionary relationship among different members remain largely unknown. Here, the crystal structure of AvrPib, an avirulence effector from Magnaporthe oryzae, was determined and showed a high degree of similarity to the M. oryzae Avrs and ToxB (MAX) effectors. Compared with other MAX effectors, AvrPib has a distinct positive-charge patch formed by five positive-charged residues (K29, K30, R50, K52 and K70) on the surface. These five key residues were essential to avirulence function of AvrPib and affected its nuclear localization into host cells. Moreover, residues V39 and V58, which locate in the hydrophobic core of the structure, cause loss of function of AvrPib by single-point mutation in natural isolates. In comparison with the wild-type AvrPib, the V39A or V58A mutations resulted in a partial or entire loss of secondary structure elements. Taken together, our results suggest that differences in the surface charge distribution of avirulence proteins could be one of the major bases for the variation in effector-receptor specificity, and that destabilization of the hydrophobic core is one of the major mechanisms employed by AvrPib for the fungus to evade recognition by resistance factors in the host cell.