Yes — a swordtail and discus are generally compatible.
Temperatures line up — both thrive around 82–82°F.
pH preferences overlap (7–7) — 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 55 gallons for the pair (the larger of their two minimums).
Can a swordtail and discus live together?
Yes — a swordtail and discus are generally compatible. Minimum tank for the pair is about 55 gallons.