Aliphatic amines are more basic than aromatic amines thus methylamine is most basic. Electron donating groups increase the basicity whereas electron withdrawing groups decrease the basicity of the aromatic amines. Thus p− methoxyaniline is more basic than aniline which is further more basic than p -nitroaniline.