Guild entered politics in 1881, serving as a member of the Massachusetts House of Representatives. He became a member of the state Republican Party Committee in 1894 and became nationally prominent when he served as vice-president of the 1896 Republican National Convention. In 1900 he worked on Roosevelt's vice presidential campaign, and toured with Roosevelt after President William McKinley's assassination elevated Roosevelt to the presidency.