Cigarettes are easier to quit to coffee. I actually had headaches and withdrawals from not drinking coffee.
Eventually you get used to being without. You just have to ride out the discomfort. I drank coffee daily, switched to black tea then green tea/matcha, then herb tea, now I just drink hot water with cinnamon, ginger or mace spice.