Recent research indicates that ultrafast electron diffraction and microscopy (UED/M) have unprecedented potential in probing ultrafast dynamic processes, especially in organic and biological materials. However, reaching the required brightness while maintaining high spatiotemporal resolution requires new design of electron source. In order to produce ultrashort electron beam with extreme high brightness, a 1.4-cell RF gun is being developed to reach higher acceleration gradient near the photocathode and thus suppress the space charge effect in the low energy region. Simulation of the 1.4-cell RF photocathode gun shows considerable improvement in bunch length, emittance and energy spread, which all lead to better temporal and spatial resolution comparing to traditional 1.6-cell RF photocathode gun. The results demonstrate the feasibility of sub-ps temporal resolution with normalized emittance less than 0.1 πmm·mrad while maintaining 1 pC electron pulse.