It was originally considered an excellent choice for pulling, regardless of the druid's specialization due to its instant cast and long lasting DoT.
However in Shadowlands retail edition, a more recent practice is to first pre-cast [Wrath] before casting this spell, as Wrath has a cast and travel time and so makes efficient use of time out of combat, whereas Moonfire would hit instantly and draw aggro.
[Sunfire] and Moonfire both apply most of their damage over time (known as a DoT effect). When targets would die quickly (eg, before the DoT runs its full duration) it may not be worth spending the GCD on this spell, as this gets little damage out of the DoT component and others spells may be more effective.
If an enemy is at low health you can finish them off by spamming several Moonfires or Sunfires in a row. This is low DPS, but as instant-cast spells this can be done on the move to a fleeing enemy or in PvP.
Now has a base duration of 20 seconds (up from 14 seconds), but is no longer extended by [Starfire] and [Starsurge] critical strikes. Upon reaching 100 Lunar Energy, the next Moonfire deals 100% additional initial damage.
Moonfire and Sunfire will now replace each other on the Action Bar when switching cycles on the Eclipse Bar.
Patch 5.0.4 (2012-08-28): No longer generates any Energy or changes into Sunfire while in Solar Eclipse.
Hotfix (2011-07-19):Moonfire will now generate Lunar Energy when crossing from Solar to Lunar on the Eclipse bar.
Patch 4.0.6 (2011-02-08): Now costs 9% of base mana, down from 18% of base mana.