Deputy Chief Secretary Warner Cheuk and Commerce Secretary Algernon Yau have tested positive for Covid.
The government says the two men last went to work on Thursday and followed anti-Covid measures such as wearing a mask and getting tested every day.
It says the ministers are now in isolation.