Electrochemical reduction of N2(NRR) offers a sustainable approach for ammonia (NH3) synthesis, serving as a complementary to the traditional emission- and energy-intensive Haber-Bosch process. However, it faces challenges in N2 activation and competing with pronounced hydrogen evolution reaction (HER). Herein an efficient electrocatalyst comprised of ultrafine Ru nanoclusters (NCs) confined by a hydrophobic molecular layer is developed on the surface of 2D Ti3C2Tx for NRR. These experimental and theoretical calculation results demonstrate that 1) ultrafine Ru NCs dispersed on the Ti3C2Tx surface form paired active sites for N2 chemisorption in a unique tilted configuration with low-energy activation 2) the hydrophobic molecular layer modulates the local microenvironment surrounding catalytically active sites, enabling efficient N2 accumulation while repelling H2O diffusion to the active sites on the Ti3C2Tx surface, thereby leading to an increased N2 concentration and suppressed HER. As a result, an exceptionally high NH3 yield rate of 33.5µg h-1mg-1cat and Faradaic efficiency of 65.3% are obtained at -0.25V versus reversible hydrogen electrode (RHE) in 0.1m Na2SO4, outperforming those previously reported Ti3C2Tx-derived electrocatalysts. This work provides a valuable strategy for the rational design of advanced electrocatalysts by manipulating active sites and local microenvironments for efficient electrocatalysis.