> ## Documentation Index
> Fetch the complete documentation index at: https://docs.habitify.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Bad habits

A Bad Habit is a behavior you'd rather do less of, or quit entirely, because it works against the life you're trying to build. It can be something small and easy to overlook, like checking your phone the moment you wake up, or something bigger, like smoking or staying up too late.

In Habitify, tracking a Bad Habit isn't about guilt, it's about awareness. Seeing the pattern clearly is often the first step to breaking it. This article covers everything you need to know to work with Bad Habits in Habitify - from adding one, to logging your progress as you cut back.

<Tabs>
  <Tab title=" iOS">
    <iframe src="https://drive.google.com/file/d/1JXACNA-nd9Mx7n2um5IUahZSxCSxRiGq/preview" width="640" height="360" />

    ## Adding a bad habit

    1. In **Journal**, tap the **+ button** at the bottom right corner.
    2. Choose '**Break Bad Habit**'.
    3. Choose a **pre-defined habit template**, or tap '**Custom Habit**' to set everything from scratch.
    4. Configure the details of the bad habit.
    5. Once everthing is set, **tap ✓ button** to save the bad habit to your tracking list.

    ## Details of a bad habit

    ### Icon & Name

    The icon and name of your bad habit helps it easily be identified across your Journal, Progress view, and everywhere else in the app.

    ### Goal

    Goal of a bad habit defines what "success" means for the habit, and it comes in two types:

    * **No More Than (limit-type)**: you set a maximum, and your goal is to stay at or under it each day. Go over, and the day is marked Failed once your logged total exceeds the limit.
    * **Quit This Habit (quit-type)** : there's no numeric limit; the goal is zero occurrences. A single instance of the habit fails the day.

    ### Start date

    The date from which your progress on this habit is saved in Habitif. It's also the date the habit begins appearing on your Journal view.

    <Note>
      **Auto-Succeed on days in past**

      If you set the '**Start from...**' to a day in the past, every day from that date up through yesterday is automatically marked as Succeeded.
    </Note>

    ## How a bad habit appears in the list

    The bad habit will start showing in your Journal since its start date.

    Since there is no settings of *Repeat*, *Area*, and *Time of Day* for the bad habits, these ones always appear in the **'All habits' list** and the **'Time of Day' list.**

    Where a Bad Habit lands in within each list in the view depends on its goal type:

    * **Limit-type habits with a daily goal** sit together with your Good Habits that also have a daily goal; both are core, everyday actions expected of you today, so they’re grouped as one.
    * **Quit-type habits** get their own separate sub-category, ‘**Quit Habit(s)’**, since there’s no daily numeric goal to hit, just a day to get through without the behavior happening at all.
    * **Limit-type habits with a weekly, monthly, or yearly goal** are categorized followingly to the section **‘This Week’**, ‘**This Month’**, **‘This Year’** together with the good habits.

    Like any habit, **once it’s checked** in for the day, it moves into the **‘Completed’**, **‘Skipped’**, or **‘Failed’** groups depending on the outcome, keeping what’s still open clearly separate from what’s already resolved.

    ## Recording progress of a bad habit

    <iframe src="https://drive.google.com/file/d/1NmlvYlsNKuYYOBJQ-OLSpgKhQhpL5LSf/preview" width="640" height="360" />

    ### Status of a bad habit

    A bad habit can possibly carry one of three statuses: **Succeeded, Skipped** or **Failed**.

    * **Succeeded**: your total logged value for the day is 0, or within your set limit.
    * **Skipped**: you went over the limit or did the habit, but chose to treat it as a cheat day rather than break your streak. A skipped day freezes your streak instead of resetting it.
    * **Failed** : your total logged value exceeds the limit (or, for a quit-type habit, any occurrence at all).

    <Info>
      At the end of each day, if your logged value is still 0 or under the limit, the habit is automatically marked as successful. You don't need to manually confirm a good day.
    </Info>

    <Info>
      If you set the Start Date to a day in the past, every day from that date up through yesterday is automatically marked as Succeeded.
    </Info>

    ### How to check in on a bad habit

    In Journal, how you check in depends on the layout you're in (**Daily View** or **Weekly View**) and the habit's goal type.

    **For quit-type habits:**

    * Tap the ••• **button** on the right of the bad habit and choose between
      * **Mark as Done**: confirm you successfully avoided it for the day (Succeeded).
      * **Reset my Streak:** log a slip and start over (Failed).
    * **Swipe the habit left** for the **Skip** option.

    **For limit-type habits:**

    * Tap the smart button to add a progress log, the smart button shows as:
      * **'+1'** for habits with the limit as 1 time
      * **'+1'** for habits with any limit set.
    * Swipe the habit **left** for **Skip** or **Fail**.
    * Swipe the habit **right** for **Succeed** or **Log Value**.

    <Note>
      **Auto-Succeed by the end of the day**

      At the end of the day, if your logged value is still 0 or under the limit, the habit is automatically marked as successful.
    </Note>

    <Note>
      **What happens when marking a habit as “Failed”**

      What gets logged behind the scenes depends on the habit’s goal type:

      * **Quit-type habits**: marking Failed automatically logs “1” as the progress value for the current period, since a single occurrence is the entire event.
      * **Limit-type habits**: marking Failed flags the day as failed, but logs a progress value of zero. Habitify doesn’t know how much you actually did, so it doesn’t guess. If you want the real amount reflected, log it yourself using **Log Progress**.
    </Note>

    ## FAQs

    <Accordion title="**How to edit a bad habit?**">
      To edit a bad habit:

      * From Journal, tap on the habit to open its single progress view.
      * Tap the ••• button in the top right corner, and choose '**Edit**'.

      If your habit does not appear in the today's list:

      * Go to **Settings**.
      * Tap **All Habits**.
      * Tap on the habit, and choose '**Edit**'.
    </Accordion>

    <Accordion title="**How to undo a wrong log added for a bad habit?**">
      If the habit already has a status for the day:

      * In *Journal*, swipe the habit right and choose '**Undo'**
      * Pick either '**Remove Today Data'** (resets today's value to 0) or '**Edit Log Manually'** (swipe left on the specific log entry and choose **Delete**).

      If the habit is still in progress:

      * In *Journal*, tap on the habit
      * In next screen, tap the (•••) button in the top right corner, and choose '**Log History**'
      * In the *Log History*, swipe left the log you want to remove and tap '**Delete**'
    </Accordion>

    <Accordion title="**How to change the status of a bad habit on a date in past?**">
      To log progress for a past date, tap on the bad habit, then tap the (•••) button in the top right corner, choose **Log Progress**, then select the date and enter your value.
    </Accordion>
  </Tab>

  <Tab title="🤖 Android">
    <iframe src="https://drive.google.com/file/d/1ZrL5VHuGdFN-NG4dF4HeHAsKgzENeDmZ/preview" width="640" height="360" />

    ## Adding a bad habit

    1. In *Journal*, tap on the **+ button** on the date bar, near the bottom right corner.
    2. Choose **'Break Bad Habit'.**
    3. Choose **a pre-defined habit template**, <br />or tap the **'Create Your Own' button** to create with a blank form.
    4. Configure the details of the bad habit.
    5. When everything is set, tap the **'Save' button** in the top right corner.

    ## Details of a bad habit

    <img src="https://mintlify.s3.us-west-1.amazonaws.com/habitify/images/BadHabitDetails_Android.png" alt="Bad Habit Details Android" />

    ### Icon & name

    The icon and name of your bad habit helps it easily be identified across your Journal, Progress view, and everywhere else in the app.

    ### Goal

    Goal of a bad habit defines what "success" means for the habit, and it comes in two types:

    * **No More Than (limit-type)**: you set a maximum, and your goal is to stay at or under it each day. Go over, and the day is marked Failed once your logged total exceeds the limit.
    * **Quit This Habit (quit-type)**: there's no numeric limit; the goal is zero occurrences. A single instance of the habit fails the day.

    ### Areas

    You can assign a Bad Habit to one or more Areas, like "Health" or "Personal Growth", so it shows up alongside your Good Habits when you're reviewing that part of your life, instead of being visible only in a separate Bad Habits view.

    A single habit isn't limited to one Area; assign it to as many as make sense.

    ### Start from...

    This is the date from which your progress on this habit is saved in Habitify. it's also the date the habit begins appearing in your habit lists in Journal.

    <Note>
      **Auto-Succeed on days in past**

      If you set the '**Start from...**' to a day in the past, every day from that date up through yesterday is automatically marked as Succeeded.
    </Note>

    ## How a bad habit appears in the list

    Since there is no *'Repeat'* and *'Time of Day'* settings for bad habits, the bad habits will appear in the **'All Habits'**, **'Time of Day' lists**, and **the list of its areas** everyday.

    With **Day view** of Journal, where a Bad Habit lands in within each list in the view depends on its goal type:

    * **Limit-type habits with a daily goal** sit together with your Good Habits that also have a daily goal; both are core, everyday actions expected of you today, so they're grouped as one.
    * **Quit-type habits** get their own separate sub-category, '**Quit Habit(s)'**, since there's no daily numeric goal to hit, just a day to get through without the behavior happening at all.
    * **Limit-type habits with a weekly, monthly, or yearly goal** are categorized followingly to the section **'This Week'**, '**This Month'**, **'This Year'** together with the good habits.

          <img src="https://mintlify.s3.us-west-1.amazonaws.com/habitify/images/BadHabit_Dayview_Android.png" alt="Bad Habit Dayview Android" />

    Like any habit, **once it's checked** in for the day, it moves into the **'Completed'**, **'Skipped'**, or **'Failed'** groups depending on the outcome, keeping what's still open clearly separate from what's already resolved.

    <Note>
      **When a quitting habit is checked with "Mark as Done"**

      When a habit to quit is marked as Done for the current day, it stays where it is in the Day view of Journal. Under its name, there is a tag line "*Secured day \[current streak]*".
    </Note>

    Otherwise, in **Week view**, your habit always appeard in the view as long as it is not archieved, being sorted equally regardless of their goal type and current day's status.

    <img src="https://mintlify.s3.us-west-1.amazonaws.com/habitify/images/BadHabit_Weekview_Android.png" alt="Bad Habit Weekview Android" />

    ## Recording progress on a bad habit

    ### Status of a bad habit

    A bad habit can possibly carry one of three statuses: Succeeded, Skipped or Failed.

    * **Succeeded**: your total logged value for the day is 0, or within your set limit.
    * **Skipped**: you went over the limit or did the habit, but chose to treat it as a cheat day rather than break your streak. A skipped day freezes your streak instead of resetting it.
    * **Failed** : your total logged value exceeds the limit (or, for a quit-type habit, any occurrence at all).

    ### Checking in bad habits in Daily View

    <iframe src="https://drive.google.com/file/d/189jfRYtYVd0qdl_BnCsXaZb9Bv7MXsgU/preview" width="640" height="360" />

    **For quit-type habits:**

    * Tap the ••• **button** on the right of the bad habit and choose between
      * **Mark as Done**: confirm you successfully avoided it for the day (Succeeded).
      * **Reset my Streak:** log a slip and start over (Failed).
    * Swipe the habit left for the **Skip** option.

    **For limit-type habits:**

    * Tap the smart button to add a progress log, the smart button shows as:
      * **button +**  for habits with the limit as 1 time
      * **button +1** for habits with any limit set.
    * Swipe the habit left for **Skip** or **Fail**.
    * Swipe the habit right for **Succeed** or **Log Value**.

    ### Checking in bad habits in Weekly View

    <iframe src="https://drive.google.com/file/d/1ca3j2CU9yJLAqvWBtmpsfRPJyXQ1GO5c/preview" width="640" height="360" />

    **For quit-type habits:**

    Hold on today's cell to check in **Succeed**, **Skip**, or **Fail**.

    **For limit-type habits with a goal per day:**

    * Tap on today's cell to log a progress value.
    * Hold on today's cell to mark the day with Skip or Fail

    **For limit-type habits with a goal per week, month, or year:**

    * Tap on the habit's progress stripe to open the **Log Value** box.

    <Note>
      **Auto-Succeed by the end of the day**

      At the end of the day, if your logged value is still 0 or under the limit, the habit is automatically marked as successful.
    </Note>

    <Note>
      **Note on marking a limit-type habit as "Failed"**

      Marking Failed flags the day as failed, but logs a progress value of zero.

      Habitify doesn't know how much you actually did, so it doesn't guess; if you want the real amount reflected, log it yourself using the **"+"** or **"+1"** button.
    </Note>

    ## FAQs

    <Accordion title="**How to edit a bad habit?**">
      There are several ways to access the Edit Habit screen in Habitify:

      From the Day view layout of Journal:

      * Tap on your habit to open its single progress view.
      * Tap the ⫶ button in the top right corner.
      * Choose '**Edit**'.

      From the Week view layout of Journal

      * Navigate through your list to find the bad habit you want to edit.
      * Hold on anywhere on the habit's progress
      * Choose '**Edit**'

      Remember to tap 'Save' button in the top right corner to save all the changes you've made to your habit.
    </Accordion>

    <Accordion title="**How to undo a wrong log added for a bad habit?**">
      If the habit already has a status for the day:

      * In the Day view of *Journal*, **swipe right** the habit, and choose '**Undo**'.
      * Pick either '**Remove Today Data**' (resets today's value to 0),
      * or '**Edit Log Manually**' (then in *Log History*, swipe left on the specific log entry and choose Delete).

      If the habit is still in progress:

      * From *Journal*, tap on the habit's name.
      * In next screen, tap the **(⋮) button** in the top right corner, and choose '**Log History**'
      * In the *Log History*, **swipe left** the log you want to remove and tap '**Delete**'
    </Accordion>

    <Accordion title="**How to change the status of a bad habit on a date in past?**">
      To mark the habit as Skip or Fail for a day in past:

      * In the Day view of *Journal,* navigate to the date using the bottom date bar.
      * Locate your bad habit, it might be among the Completed.
      * Swipe right your habit, and choose between Skip or Fail.

      To log a progress value for a past date:

      * In *Journal,* tap on the bad habit.
      * Tap the **(⋮) button** in the top right corner.
      * Choose '**Log Progress'.**
      * Enter the value and pick a date.
      * Tap '**Save**'
    </Accordion>
  </Tab>

  <Tab title="🖥️ Website & Desktop">
    <iframe src="https://drive.google.com/file/d/1bS8_yZNGcvvpUC7lfniZip9lnKWDVlxu/preview" width="640" height="360" />

    ## Adding a bad habit

    * On the left side bar, access **'All Habits'.**
    * Click **'+ Add habit'** under the last habit in the list, or on the bottom action bar.
    * Click to choose **'Break Bad Habit'.**
    * In *'New Habit'*, click on the **name field**.
    * Choose a pre-defined habit from the list,<br />or enter your own one.
    * Configure the details of the bad habit.
    * When everything is set, click the **'Save' button** in the bottom right corner.

    ## Details of a bad habit

    ### Icon & name

    Choose an icon and name your habit. This is how it's identified across your lists, Progress, and everywhere else in the app.

    ### Quit/Limit

    This defines what "success" means for the habit, and it comes in two types:

    * **Quit:** there's no numeric limit; the goal is zero occurrences. A single instance of the habit fails the day.
    * **Limit**: choose this mode and set a goal as limitation, and your goal is to stay at or under it each day. Go over, and the day is marked Failed once your logged total exceeds the limit.

    ### Start Date

    The date from which your progress on this habit is saved in Habitify.

    ## How a bad habit appears in the list

    **In Grid layout,** your bad habit is added to the view immediately once it is created. For the dates before the start date, their cells are crossed off and unavailable for progress checking in.

    **In List layout**, your bad habit will appears the first time on its *'Start Date'* then repeats everyday, being categorized based on its goal type:

    * **For the quit-type habits and the limit-type ones with goal per day**: categorized under '*Negative Habit(s)*' section within the list.
    * **For the limit-type habits with goal per week, per month, or per year**: categorized followingly under '*This Week*', '*This Month*', '*This Year*' sections.

    Since there is no settings of *'Time of Day'* and *'Area',* the bad habits just shows when you view the  **'All Habits'** list.

    ## Recording progress on a bad habit

    <iframe src="https://drive.google.com/file/d/1G4XMR8nlo8NgsXCxtxtQicU8WorOfvTQ/preview" width="640" height="360" />

    ### Status of a bad habit

    Bad Habits carry one of three end-of-day statuses: **Succeeded/Completed**, **Skipped**, or **Failed**.

    * **Succeeded/Completed**: your total logged value for the day is 0, or within your set limit.
    * **Skipped**: you went over the limit or did the habit, but chose to treat it as a cheat day rather than break your streak. A skipped day freezes your streak instead of resetting it.
    * **Failed** : your total logged value exceeds the limit (or, for a quit-type habit, any occurrence at all).

    ### How to check in on a bad habit

    #### In Grid layout

    * **Option 1**: Click to select the cell of the current day, then choose an action from the bottom action bar.
    * **Option 2**: Right-click the cell of the current day, then choose actions from the context menu.

    #### In List layout

    * **Option 1**: Click to select the habit, then choose an action from the bottom action bar.
    * **Option 2**: Right-click the habit, then choose an action from the context menu.
    * **Option 3**: Hover on the habit, then click the (•••) button on the left end, then choose an action from the context menu.

    <Info>
      At the end of the day, if your logged value is still 0 or under the limit, the habit is automatically marked as Succeeded/ Completed.
    </Info>

    <Info>
      If you set the Start Date to a day in the past, every day from that date up through yesterday is automatically marked as Succeeded
    </Info>

    <Note>
      **When marking a bad habit as 'Failed':** what gets logged behind the scenes depends on the habit's goal type:

      * **Quit-type habits**: marking a slip automatically logs "1" as the progress value for the current period, since a single occurrence is the entire event.
      * **Limit-type habits**: marking Failed flags the day as failed, but logs a progress value of zero. Habitify doesn't know how much you actually did, so it doesn't guess. If you want the real amount reflected, log it yourself using the **'Add Log'** from the context menu.
    </Note>

    ## FAQs

    <Accordion title="**How to edit a bad habit?**">
      To edit a bad habit:

      * Open your habit list in Grid layout.
      * Click on your habit to open its single progress view.
      * Navigate to the top right corner, and click the 🖊 button.
    </Accordion>

    <Accordion title="**How to undo a wrong log added for a bad habit?**">
      To remove a wrong log that've added for the bad habit:

      1. Access the **single progress view** of the bad habit:
         1. in *Grid* layout: **double-click** on the habit name.
         2. in *List* layout: **single-click** on the habit name.
      2. Navigate to *the top right corner*, and click **the toggle sidebar button**.
      3. On the *right sidebar*, switch to **'Log History'** tab.
      4. Select the log(s) you want to remove.
      5. Click the **'Delete' button** near the bottom right corner.
    </Accordion>

    <Accordion title="**How to change the status of a bad habit on a date in past?**">
      To log progress for a past date:

      1. Access **the single progress view** of the bad habit:
         1. in *Grid* layout: **double-click** on the habit name.
         2. in *List* layout: **single-click** on the habit name.
      2. Navigate to the top right corner, and click **the ⌨️ button**.
      3. Enter a value in the input field, and choose a date on the calendar.
      4. Click the **'Add Log' button.**
    </Accordion>
  </Tab>
</Tabs>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.