My Obsidian Daily Note Template
By Dann Berg
Published or Updated on
❗ Feel free to skip the fluff and navigate directly to the raw Daily Note template.
Also, this tutorial is now available as a YouTube video! Watch 📆 Obsidian Daily Note Template Tour and Tutorial to see me set up the system from scratch.
I’ve officially drunk the Obsidian Kool-Aid. While I still think my Daily Driver Task Management System is the best way to manage your to-dos, I’ve moved my entire note-taking system to Obsidian and it’s now functioning as my second brain.
Before falling in love with Obsidian, I started using Roam Research (paired with the book How To Take Smart Notes) as a way to start shifting my note-taking strategy. Roam’s bi-directional linking, paired with a modified version of the Zettelkasten strategy outlined in the book, allowed me to build a system that supports information recall as much as note taking.
One of the things I really liked about Roam Research was the Daily Note. For me, the real strength of a daily note is to anchor one’s daily activity within the larger world of personal productivity. I wanted to design a daily note that allowed for:
- Thoughtful reflection
- A place for ephemeral notes throughout the day
- A record of more evergreen notes that were touched that day
The template I’m currently using (and am sharing in this post) was built over a period of several months. I’d make a small change, use it for days to weeks+ to see if it stuck, and then make another change. I’ve most recently added the “Notes created today” and “Notes modified today” sections, and I finally think I’m done making changes. My daily note template is complete.
I wanted to share, because I thought others might be interested. Please steal/remix/reuse anything you like.
Setting up the Daily Note Template
These are the plugins you’ll need:
- Daily Notes (Core Plugin)
- Dataview
- Templater
You’ll want to install the plugins directly through Obsidian.
❗ Feel free to jump directly to the raw Obsidian Daily Note template, if you aren’t interested in this fairly wordy tour.
Metadata and Navigation
I don’t put too much information into the YAML front matter. Just a created date, using the following Templater code, inserts the current date:
<% tp.file.creation_date() %>
Any tags (I only use +Daily Notes
) are outside of the front matter. But that’s just a personal preference.
I also use Templater to insert the day’s date, in an easy-to-read format, with the day of the week prominently at the front.
<% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>
I also include some Previous/Next navigation at the top1, powered by Templater and formatted the same as the filename naming convention. Most frequently, I’m using today’s note, which means the link to tomorrow’s note doesn’t exist. But these can both be useful when browsing older notes.
<< [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').subtract(1, 'd').format('YYYY-MM-DD-dddd') %>|Yesterday]] | [[<% fileDate = moment(tp.file.title, 'YYYY-MM-DD-dddd').add(1, 'd').format('YYYY-MM-DD-dddd') %>|Tomorrow]] >>
Note: this Previous/Next navigation Templater code can be imperfect if you’re not creating Daily Notes every day. This can apparently be solved using this method involving DataviewJS. I haven’t tried this myself, but I’ve heard it works well.
Daily Questions
For a long time, I used the Day One iOS app for daily journaling. It’s a beautiful mobile app, and I loved storing my daily ephemeral notes there. However, I found myself annoyed every time I wrote an entry, since typing a full-length post on my phone was tedious. I experimented with voice entry, but that felt too unnatural. I explored switching to the MacOS app, but the monthly fee (vs free on a single device) kept me away.
I’ve now moved this all to Obsidian, and thought of four questions to inspire quick writing. Each question appears when I create a new note in the morning, along with an empty bullet point, ready to be filled with answers.
I write these answers first thing in the morning, right after I create the day’s note.
Ephemeral Notes
Like the Daily Questions, the Notes section has an empty bullet point ready for me to write. Writing in bullet points makes the task much less daunting. You’re inviting yourself to make a quick note. You should always make it as easy as possible to start.
Often, I’ll take notes from meetings here, and then spin those notes into their own file using the Note Refactor plugin during end-of-day processing. All that will be left is a link to the new file.
Other times ephemeral notes will juts stay here. Although I recognize that the recall process of accessing my notes from a Daily Note vs from an evergreen note is less straightforward. For some notes, that’s fine for me.
Automatic cursor placement
Update Oct 2022: A commenter on the gist pointed out that you can use <% tp.file.cursor() %>
to tell Obsidian where to place your cursor once Templater creates each new Daily Note.
To use this, place the code <% tp.file.cursor() %>
wherever you want your cursor to appear (maybe on the first bullet point under Notes, or under the first daily question). Then, in Templater settings, make sure you have the following enabled:
- Automatic jump to cursor
- Trigger Templater on new file creation
Record of work
Lastly, the template ends with a few queries powered by the Dataview plugin. These output two unordered lists:
- Notes created today
- Notes modified today
When you create your Daily Note, and remain in Edit Mode, these will just be codeblocks (as shown in the picture). You’ll need to toggle Reading View in order for Dataview to generate the list of notes.
I personally find this information less useful day-of, so just having codeblocks at the bottom the the note is fine for me. It’s only when reviewing past notes, specifically in Reading Mode, that these sections are particularly interesting.
Where to store your daily notes
My overall Obsidian organizational structure is based largely on Nick Milo’s Linking Your Thinking. As such, I have a Timestamps
folder, and all my daily notes live there.
Originally, all my daily notes were in that single directory, but I’ve since moved to a Year > Month > Day system that makes navigating old notes significantly quicker. This organizational structure is super easy to set up for new notes. In the Daily Note settings, set Date Format to YYYY/MM-MMMM/YYYY-MM-DD-dddd
. Each /
denotes a new directory, so new daily note files will be created within existing Year and Month folders, or create them if they don’t yet exist.
Setting up your Daily Note template
Create a new note, and name it Template, Daily Note
. Move it to your templates directory if you have one (I use Extras/Templates/
).
Once the file exists in your desired directory, enter the directory path in the Daily Notes settings page. Each time you click the menu button to create your Daily Note, it will use that template file, along with the Templater plugin, to generate a fully-formed, ready-to-use, daily note.
Additionally, in the Templater settings, make sure that you enable Trigger Templater on new file creation
. With this enabled, you’ll have a new Daily Note, complete with the dynamic text that we created, when you click the Open Today’s Daily Note button2.
Additionally, we need to make sure that the Yesterday and Tomorrow links work both to navigate to an existing note, or to create a new note from our template if there isn’t yet a Daily Note for that date.
In Obsidian Settings, go to Templater settings, and scroll down to Folder Templates. Toggle the “Enable Folder Templates” switch on. For folder, select Timestamps/
(or whereever you keep your Daily Notes) and for Template, choose our new Daily Note template3.
Dive deeper in Obsidian
Did you find this post useful? Check out my other Obsidian posts:
- My Obsidian Meeting Note Template
- My Obsidian People Note Template
- My Obsidian Physical Object System
- Recalling Books You’ve Read, Made Easy
Prefer video content? Check out the above video tutorial version of this post. It shows you exactly how to set up your own Daily Note template system.
If you’ve read this far, you might also really enjoy my free monthly newsletter The Dann Chronicles. Each month, I share five cool new things I found. These can be products, articles, apps, movies, concepts, and anything else. Feel free to check out the archive to see if it’s something you might like, and subscribe to get each edition in your email.
This Templater code was updated Oct 2022 thanks to feedback from Lopyter on Reddit. The old format would have broke if you create Daily Notes for future dates. ↩︎
An alternate option is to use
<%+ %>
instead of<% %>
, but this isn’t the cleanest way to run code on file creation. For a longer discussion, see the comments of the gist on Github. ↩︎Thank you to Robiton for his helpful comment on the template code to get this working correctly. ↩︎