The Unattached Companies of Massachusetts Volunteer Militia were units of infantry raised for the defenses of the eastern coast of Massachusetts during the American Civil War. Twenty-six companies were mustered into the Union Army during 1864-1865, several of them reorganizing for additional terms of service.