A section of the York County Heritage Rail Trail will be closed this spring into mid-summer for improvements.