What the Pineapple Swordtail Is

The pineapple swordtail is a color variety of the common swordtail (Xiphophorus hellerii), bred to display bright yellow or golden coloring with red or orange markings. The name comes from the resemblance to pineapple skin. It is a livebearing fish — meaning females give birth to live young rather than laying eggs — and grows to about 5 to 6 inches long, with males displaying the characteristic sword-like extension on their lower tail fin.

Pineapple swordtails are hardy, active fish that do well in community tanks with other peaceful species. They are popular with both beginner and experienced aquarists because they tolerate a range of water conditions and do not require specialized care. Their bright coloring makes them visually striking, and their behavior — constant movement and occasional aggression between males — gives a tank visible activity.

Key Takeaways

  • Pineapple swordtails need a minimum 20-gallon tank and prefer water between 72 and 82 degrees Fahrenheit with a pH between 7.0 and 8.0.
  • Males are territorial and will chase each other; keeping only one male per tank or providing plenty of plants and hiding spaces reduces conflict.
  • These fish breed readily in home aquariums without intervention, and females can store sperm and produce multiple broods from a single mating.
  • Live plants, driftwood, and rocks provide shelter and reduce stress, which improves color intensity and overall health.
  • Pineapple swordtails are omnivores and thrive on a mix of quality flake food, small pellets, and occasional live or frozen foods like bloodworms or brine shrimp.

Tank Size and Water Conditions

A 20-gallon long tank is the practical minimum for one male and two or three females. If you plan to keep multiple males, add 10 gallons for each additional male, because males will fight for territory and dominance. A 40-gallon breeder tank is ideal if you want to raise fry or maintain a larger group.

Pineapple swordtails tolerate a wide range of water parameters, but they perform best in warm, slightly alkaline conditions. Keep the temperature between 72 and 82 degrees Fahrenheit — they slow down and become dull below 70 degrees. The pH should sit between 7.0 and 8.0, and water hardness between 12 and 30 dGH works well. A standard aquarium heater and thermometer are essential; an air stone or sponge filter helps maintain oxygen levels, especially if the tank is densely planted.

Perform a 25 to 30 percent water change every week to keep nitrate levels low and maintain water quality. Swordtails produce waste steadily, and regular changes prevent the buildup that causes stress and disease.

Feeding and Diet

Pineapple swordtails are omnivorous and will eat both plant and animal matter. A high-quality flake food or small pellet formulated for livebearers should form the base of their diet. Feed once or twice daily, offering only what they can consume in two to three minutes — overfeeding fouls the tank and causes bloating.

Supplement with live or frozen foods two to three times per week to bring out their color and keep them healthy. Bloodworms, brine shrimp, daphnia, and mosquito larvae are all readily accepted. Blanched vegetables like zucchini, spinach, or lettuce can be offered occasionally; many swordtails will nibble soft plant matter in the tank as well. Variety in diet reduces the risk of nutritional deficiency and keeps the fish active and engaged.

Behavior and Tank Mates

Male pineapple swordtails are territorial and will chase and nip at each other, especially in smaller tanks. A single male with females is the most stable arrangement. If you keep multiple males, provide dense vegetation, driftwood, and rock formations so each can establish its own area and retreat when threatened. Even with these refuges, expect some chasing and fin damage.

Pineapple swordtails coexist well with other peaceful community fish of similar size: tetras, rasboras, corydoras catfish, and peaceful plecos. Avoid housing them with aggressive species like cichlids or large tetras that nip fins. They may eat very small fish or fry, so do not mix them with tiny species or expect fry to survive in the main tank without a separate breeding or rearing space.

Females are generally less aggressive than males and will tolerate each other, though they still establish a loose hierarchy. Watching their interactions — the dominant female often swims with her dorsal fin raised — is part of their appeal in a community setting.

Breeding and Fry Care

Pineapple swordtails breed readily in home aquariums without any special trigger. Females are livebearers and give birth to fully formed, independent fry after a gestation period of about 28 days. A single female can produce 20 to 100 fry per brood, depending on her age and size. Females can also store sperm and produce multiple broods from a single mating, so even a lone female may produce fry months after the last male was removed.

If you want to raise fry, move a pregnant female to a separate 10 to 20-gallon breeding tank with dense plants (java moss, water sprite, or floating plants work well) where newborns can hide from predators, including their own mother. Feed fry small foods like infusoria, liquid fry food, or finely crushed flake food multiple times daily. After four to six weeks, they can be moved to a grow-out tank or returned to the main aquarium if space allows.

If you do not want fry, simply remove them as they appear or keep only males, or house females separately. In a community tank with other fish, most fry will be eaten naturally, keeping the population in check.

Lighting and Plants

Pineapple swordtails do not have special lighting needs, but they show their best color under moderate to bright light. A standard 8 to 10-hour photoperiod (light cycle) is sufficient. Live plants improve the tank environment by consuming nitrate, providing oxygen, and offering shelter; they also enhance the pineapple swordtail's appearance by creating contrast with their bright coloring.

Hardy, fast-growing plants like java moss, anubias, water sprite, and ludwigia are ideal. Floating plants like water lettuce or frogbit provide shade and diffuse light, which can reduce stress. Avoid delicate plants — swordtails will uproot and eat softer vegetation, especially if the tank lacks other food sources. A combination of rooted plants, driftwood, and rock formations creates a natural-looking environment that encourages natural behavior and reduces aggression.

Common Health Issues

Pineapple swordtails are hardy, but they are susceptible to the same diseases as other freshwater fish: ich (white spot disease), fin rot, and fungal infections. These typically arise from poor water quality, stress, or introduction of infected fish. Maintain regular water changes, avoid overcrowding, and quarantine new fish for two weeks before adding them to the main tank.

Constipation and bloating can occur if they are overfed or fed only dry food. Vary their diet with live or frozen foods and vegetables, and feed in smaller portions more frequently. If a fish appears swollen or stops eating, reduce feeding for a day or two and offer blanched peas, which act as a mild laxative.

Fin damage from male aggression is common and usually heals on its own if water quality is good. If damage is severe or infection sets in, move the injured fish to a separate tank or increase the number of hiding spots in the main tank.

Frequently Asked Questions

How can I tell the difference between male and female pineapple swordtails?

Males have the characteristic sword — an elongated extension on the lower lobe of the tail fin — and are typically more slender. Females lack the sword, are rounder in the belly (especially when carrying fry), and are usually larger overall. Males are also more colorful and aggressive.

Can pineapple swordtails live in an unheated tank?

They can tolerate temperatures as low as 60 degrees Fahrenheit for short periods, but they become sluggish, lose color, and are more prone to disease. A heater keeping the tank between 72 and 82 degrees is strongly recommended for their health and longevity.

Do pineapple swordtails need a filter?

Yes. A filter removes waste and maintains water quality. A sponge filter, hang-on-back filter, or small canister filter rated for your tank size works well. Aim for a turnover rate of at least 4 times the tank volume per hour.

Will pineapple swordtails eat my aquatic plants?

They will nibble soft plants like water sprite and ludwigia, especially if hungry or if the tank lacks other food. Hardy plants like anubias and java moss are more resistant. Provide adequate food and fast-growing plants to minimize damage.

How long do pineapple swordtails live?

With proper care, they typically live 3 to 5 years. Some individuals reach 7 years in well-maintained tanks. Lifespan depends on water quality, diet, temperature stability, and stress levels.