XML 259 R183.htm IDEA: XBRL DOCUMENT
v3.25.1

Events after the reporting period (Details Narrative) - Events After Reporting Period [Member] - BRL (R$) R$ in Millions | Apr. 09, 2025 | Feb. 28, 2025
--- | --- | ---
IfrsStatementLineItems [Line Items] |  |
Issuance of unsecured debenture |  | R$ 3,700
Judicial payment updated amount | R$ 2,480 |

X
- References No definition available. + Details
Name: | sbs_IfrsStatementLineItems
Namespace Prefix: | sbs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | sbs_IssuanceOfUnsecuredDebenture
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | sbs_JudicialPaymentUpdatedAmount
Namespace Prefix: | sbs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=sbs_EventsAfterReportingPeriodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |