The squid will change to a dark brown or purple color when it is being attacked or to camouflage itself with the surrounding environment.
[7] Sepioloidea lineolata also have glands underneath their body that can secrete a toxic slime whenever the squid is being attacked by a predator.
During the day, Sepioloidea lineolata will bury itself in the sand to where only the top of its head and its yellow eye are visible.
Throughout the day, the squid continues to flick sand particles over its body in order to remain hidden.
This also means that Sepioloidea lineolata have high density photoreceptors due to the increased eye movements.
Dicyemids are mesozoans, worm-like parasites that affect the renal appendages on cephalopods that live near the seafloor, like S. lineolata.
[14] Dicyemids are able to thrive inside the striped pyjama squid because the renal appendages are filled with fluid, which creates the perfect habitat for the parasite.