A series of functionalized aryl boronic acids were synthesized and evaluated as potential inhibitors of factor XIa. Crystal structures of the protein–inhibitor complexes led to the design and synthesis of second generation compounds showing single digit micromolar inhibition against FXIa and selectivity against thrombin, trypsin, and FXa.