A master’s degree in computer science typically takes two years to complete, however, this may change if someone pursues their program part time instead of full time.