Ariely and his co-researchers conducted a survey of 800 people who use an app called Fabulous. All of the participants shared the goal of exercising more often but found it difficult to follow through.

The researchers directed participants to adopt a motivating pre-workout routine, such as stretching or practicing mindfulness, and continue it for multiple weeks. The majority of the survey’s participants said they exercised more often and felt more motivated to continue doing so. Those who saw the highest success were the ones who designed their own inspiration routine.

Having a routine that you execute before starting a tedious task boosts your chance of finishing that task, according to the research.

While the experiment only dealt with fitness, establishing a pre-task routine could help motivate you to accomplish other difficult goals, such as working on a personal project every night or organizing your living space once a week. Habits, or routines, help people accomplish more, feel less stressed and become more financiallystable.

“The next time that you want to motivate yourself to go for a run or pick up the weights,” Ariely writes on his blog, “try making up your own ritual that you perform every time you begin.”

Check out8 business icons who found success after age 40

Like this story? Like CNBC Make It on Facebook.