Variational principles are constructed using the semi-inverse method for two kinds of extended Korteweg-de Vries (KdV) equations,which can be regarded as simple models of the nonlinear oceanic internal waves and atmospheric long waves,respectively.The obtained variational principles have also been proved to be correct.