Two people with the same surname can get married. According to the law, newlyweds need to meet the following three conditions: 1. Reach the legal age of marriage; (2) Both parties are not direct relatives and collateral relatives within three generations; 3, both men and women are completely voluntary, no party may force, no one can interfere. Meet the above conditions regardless of whether the same surname can be married.