High-energy $gammagamma$ colliders constitute a potential running mode of future $e^+ e^-$ colliders such as the ILC and CLIC. We study the sensitivity of a high-energy $gammagamma$ collider to the Higgs portal scenario to a hidden sector above the invisible Higgs decay threshold. We show that such $gammagamma$ collisions could allow to probe the existence of dark sectors through the Higgs portal comparatively more precisely than any other planned collider facility, from the unique combination of sizable cross-section with clean final state and collider environment. In addition, this search could cover the singlet Higgs portal parameter space yielding a first-order electroweak phase transition in the early Universe.