Osteomyelitis itself is not contagious, but the bacteria or fungi causing the infection can spread to others through direct contact with open wounds or bodily fluids.