This paper deals with passivity-based stability analysis of dynamic electricity pricing considering power flow. In the near future electricity market, power consumers and generators will participate in electricity market trading as market players. For such a market trading system, the dynamic pricing procedure is required to consider the intermittent participation of power consumers and generators. Then, this paper discusses the stability of the electricity market trading system including power flow using passivity analysis. This paper also shows that the optimal power demand, supply and electricity prices are asymptotically stable and these values are derived in a distributed manner through market trading.