Monkeypox is diagnosed through special laboratory tests on samples taken from people or animals suspected of having monkeypox.