De marks where you’re leaving from: Me voy de la fiesta = I’m leaving the party.
A marks where you’re going to: Me voy a casa = I’m going home.
You can mention both: Me voy de la fiesta a casa (more naturally: Me voy de la fiesta; me voy a casa). Note that Spanish often says a casa (no article).
Can I say Ya me voy instead of using ahora? What’s the difference? And what about ahorita?
Ya me voy: “I’m leaving now / it’s time for me to leave.” It highlights the change of state (from staying to leaving) and is extremely common in speech.
Me voy ahora: literally “I’m leaving now,” neutral.
Ahora mismo / ya mismo: “right now,” stronger immediacy.
Ahorita varies by country. In some places it means “right now,” in others “in a little bit/soon.” Use with caution outside the region you learned it in.
Can ahora go elsewhere in the sentence?
Yes. All are possible, with little or no change in meaning:
Me voy de la fiesta ahora.
In casual speech, Ya me voy is often the most natural.
What’s the difference between irse and salir here?
Irse (de + lugar): general “to leave/go away (from a place).” Can stand alone: Ya me voy.
Salir (de + lugar): “to go out/exit (a place).” Slightly more about the physical act of going out: Salgo de la fiesta ahora.
Both are fine here; irse is more common for announcing your departure.
Can I say Me salgo de la fiesta?
Salirse de can be used colloquially to mean “to leave” (often with a nuance of slipping out or leaving earlier than expected), especially in the past: Me salí de la fiesta temprano.
In the immediate present to announce your departure, Me voy or Salgo sounds more natural than Me salgo in many regions.
Can I drop de la fiesta and just say Me voy?
Yes. Me voy by itself is a very common, natural way to say “I’m heading out.” Context tells people what you’re leaving. You can add a softener like Bueno, ya me voy.
How do I say I’m leaving with someone or to somewhere?