<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [hospitalize](./bitburner.singularity.hospitalize.md)

## Singularity.hospitalize() method

SF4.1 - Hospitalize the player.

<b>Signature:</b>

```typescript
hospitalize(): number;
```
<b>Returns:</b>

number

The cost of the hospitalization.

## Remarks

RAM cost: 0.25 GB