Medieval
Roughly 1100 to 1500 for anything with surviving fabric: load-bearing masonry, timber frames, and openings sized by what the structure would allow rather than by the room.
Middle Ages
mediaeval
The historical Middle Ages start far earlier, around 500, but almost nothing standing predates 1100, so the useful bracket for a building or an interior starts there.