Middlesex County is a county located in the north-central part of the U.S. state of New Jersey, extending inland from the Raritan Valley region to the northern portion of the Jersey Shore.