Outermost mucilage layer of cell envelope that consists of non-cellulosic polysaccharide with or without proteins.
If glycocalyx is loose and smooth, it is called the slime layer however if it is thick and tough, it is called a capsule.
Glycocalyx helps in the prevention of desiccation, protection from phagocytes, toxic chemicals, drugs and viruses. It is also involved in attachment, immunogenicity and virulence.