Driving a rental car across the border can be tricky. Whether or not a rental company will allow this really depend on a variety of factors, including the vehicle rental company and which border you are trying to cross.
However, you might need additional insurance in order to drive in another country and you’ll need to find out if there are any differences in the road rules in the country you are heading to. For more information refer to Blacklisted
Canadian Border