---
title: "A guide to cookies in Next.js"
url: https://daily.dev/posts/a-guide-to-cookies-in-next-js-am0825fdd
source_url: https://blog.logrocket.com/guide-cookies-next-js/
type: article
source: "LogRocket"
published: 2023-04-04T13:02:02.967Z
updated: 2023-08-12T02:29:45.151Z
tags: ["nextjs", "privacy", "react"]
reading_time: 7
upvotes: 19
comments: 0
language: en
---

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

# A guide to cookies in Next.js

**[LogRocket](https://daily.dev/sources/logrocket)** · 7 min read · 19 upvotes · 0 comments

## Summary

A guide to cookies in Next.js - LogRocket Blog Cookies are data blobs that our browsers unknowingly contain. Cookies are useful in situations like authentication, improving the UX, quicker response times, and the list goes on. In this article, we’ll explore two packages that will allow us to achieve setting cookies in a Next.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.logrocket.com/guide-cookies-next-js/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#nextjs](https://daily.dev/tags/nextjs), [#privacy](https://daily.dev/tags/privacy), [#react](https://daily.dev/tags/react)

[View this post on daily.dev](https://daily.dev/posts/a-guide-to-cookies-in-next-js-am0825fdd)
