Rationalism is the belief that reason is the best or most reliable way to gain knowledge. It is often contrasted with empiricism, the belief that knowledge comes from experience.