This paper proposes a prioritized energy optimal management for home-to-home in smart grid. As this proposed mechanism configures the prioritized optimal energy, if there is a surplus of energy from the energy provider of home, the energy broker in smart grid distributes the optimal energy to the requesting user for the purpose of maximizing the user's payoff.