Somalia has not held a one-man-one-vote election in 50 years.
Nearly 30,000 clan delegates are assigned to choose the 275 MPs for the lower house, while Somalia's five state legislatures elect senators for the 54-member upper house.
The two lawmakers elected Monday will be among 46 MPs to notionally represent the northwestern region of Somaliland, a breakaway republic not recognised by other nations.