Tonneau covers and most bed rails use the same connection points, so the two will not work together. Some trucks, however, do provide additional connection points, so you need to take a good look at your vehicle to determine compatibility. It's also important to consider this idea from a design perspective as you may not like the way it looks, so you have to put some thought into this before you buy bed rails.