The middle ages ran from the fall of the Roman Empire in 476 CE, to the beginning of the Renaissance (the rebirth), around 1500 CE.
The early middle ages, often called the Dark Ages, ran from: 476 CE to 1000 CE.
The high middle ages ran from 1000 CE to 1300 CE.
The late middle ages, ran from 1300 CE to approximately 1500 CE.