Can ghost shrimp live with swordtails?

Verdict
No

No. Ghost shrimp and swordtails should not share a tank. A swordtail is big enough to swallow adult ghost shrimp.

What to watch

What works

Water side by side

55°60°65°70°75°80°85°90°Both: 72–79°Ghost shrimp 65–82°Swordtail 72–79°
The green band is the temperature range both can live in.
456789Both: 7–8Ghost shrimp 7–8Swordtail 7–8.3
The green band is the pH both tolerate.

Size to scale

Ghost shrimp · 1.5 inSwordtail · 5 in0"1"2"3"4"5"6"
Adult length in an aquarium. A fish can swallow anything that fits in its mouth, roughly a third to half its own length for predators.

Care at a glance

Ghost shrimpSwordtail
Temperature65–82 °F72–79 °F
pH7–87–8.3
Adult size1.5 in5.0 in
Minimum tank5 gal30 gal
TemperamentPeacefulSemi-aggressive
Swims atBottomMiddle
GroupGroups of 3+Groups of 3+
DietOmnivoreOmnivore

Better tank mates for ghost shrimp

All ghost shrimp tank mates

Better tank mates for swordtails

All swordtail tank mates

Questions

Can ghost shrimp live with swordtails?

No. Ghost shrimp and swordtails should not share a tank. A swordtail is big enough to swallow adult ghost shrimp.

What temperature suits both ghost shrimp and swordtails?

72–79 °F. Ghost shrimp need 65–82 °F, swordtails need 72–79 °F.

What size tank do ghost shrimp and swordtails need together?

At least 30 gal, set by the swordtail. Add space for each extra fish.