Sand comes before the stocking list
A peacock eel buries itself, and gravel makes that impossible while abrading the scaleless skin it tries with. Five centimetres of soft sand is the requirement, and it rules out tank mates that need a different substrate as surely as it rules out the wrong water. An eel kept on gravel hides behind the filter permanently and is usually described as never seen.
Measure tank mates against the mouth, not the temperament
Anything under about 6 cm is prey once the lights go out, no matter how peaceful both fish are during the day. Neon tetras, guppies and dwarf shrimp are not bullied here; they are eaten, quietly, one at a time. Pick species that reach a solid adult size and buy them at that size rather than growing them on in the same tank.
Do not let the tank out-eat it
The eel emerges at dusk and works by scent, taking food slowly off the sand. Fast surface feeders and greedy bottom fish clear it long before then, and the eel loses condition over months without any visible drama. Feed frozen bloodworm, blackworm or chopped prawn after lights-out, preferably with tongs at a fixed spot the eel learns.
Avoid competition on the substrate itself
Corydoras groups, active loaches and other sand-sifters occupy exactly the space the eel needs and reach food first. They are not in danger from it — most are too large and too armoured — but the eel loses. If you want a bottom crew, choose a wood grazer that works vertical surfaces rather than the sand.
Assume it will try to leave
Spiny eels escape. They probe every seam of the lid and get through openings that look impossible, and a fish found dry on the floor is the commonest way keepers lose them. Seal the filter cut-outs, weight the lid and check it after maintenance. This is a housekeeping matter, but it costs more eels than tank mates do.
Give it darkness and it stops being invisible
Floating plants, shaded wood and a length of PVC pipe on the sand let the eel settle in weeks rather than months, and a settled eel comes out in the evening with the lights still on. Tank mates that demand bright, open, brightly planted layouts work against that. A dim, sand-floored tank suits everything on the compatible list below.