Yes — a guppy and swordtail are generally compatible.
Temperatures line up — both thrive around 72–82°F.
pH preferences overlap (7–8) — easy to keep both comfortable.
Both are shoaling species — keep each in its own group of 6+ for calm, confident fish.
Plan on at least 20 gallons for the pair (the larger of their two minimums).
Can a guppy and swordtail live together?
Yes — a guppy and swordtail are generally compatible. Minimum tank for the pair is about 20 gallons.