A wavefront coding (WFC) technique provides an extension of the depth of field for a microscopy imaging system with slight loss of image spatial resolution.Through the analysis of the relationship between the incidence angle of light at the phase mask and the system pupil function, a mixing symmetrical cubic phase mask (CPM) applied to 5X-40X micro-objectives is optimized simultaneously based on point-spread function (PSF) invariance and nonzero mean values of the modulation transfer function (MTF) near the spatial cut-off frequency.Optimization results of the CPM show that the depth of field of these micro-objectives is extended 3-10 times respectively while keeping their resolution.Further imaging simulations also prove its ability in enhancing the defocus imaging.